Skip to content

Commit

Permalink
new version of SettingsSearch library with language support
Browse files Browse the repository at this point in the history
  • Loading branch information
KnollFrank committed Nov 13, 2024
1 parent 085e44d commit 6f3d428
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion OsmAnd/build-common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ dependencies {
implementation "androidx.car.app:app-projected:1.4.0"

implementation 'com.google.android.gms:play-services-location:21.3.0'
implementation 'com.github.KnollFrank:SettingsSearch:ddbf3d48bf'
implementation 'com.github.KnollFrank:SettingsSearch:3c58a0632b'
// https://mvnrepository.com/artifact/com.google.guava/guava
implementation 'com.google.guava:guava:33.3.1-android'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

import de.KnollFrank.lib.settingssearch.client.SearchConfiguration;
import de.KnollFrank.lib.settingssearch.client.SearchPreferenceFragments;
import de.KnollFrank.lib.settingssearch.search.MergedPreferenceScreenDataInput;
import de.KnollFrank.lib.settingssearch.search.MergedPreferenceScreenDataMode;

public class SettingsSearchButtonHelper {

Expand Down Expand Up @@ -42,12 +40,7 @@ private SearchPreferenceFragments createSearchPreferenceFragments() {
.builder(
createSearchConfiguration(),
rootSearchPreferenceFragment.requireActivity().getSupportFragmentManager(),
rootSearchPreferenceFragment.getResources(),
new MergedPreferenceScreenDataInput(
R.raw.preferences,
R.raw.preference_path_by_preference,
R.raw.host_by_preference),
MergedPreferenceScreenDataMode.PERSIST)
rootSearchPreferenceFragment.getResources())
.withFragmentFactory(new FragmentFactory())
.withPreferenceConnected2PreferenceFragmentProvider(new PreferenceConnected2PreferenceFragmentProvider())
.withPrepareShow(new PrepareShow())
Expand Down

0 comments on commit 6f3d428

Please sign in to comment.