1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 04:46:51 +01:00

Discovery activity: set scanning sensitivity to level 2

This commit is contained in:
vanous 2022-06-12 17:41:34 +02:00
parent 8bfe37e61f
commit 30c7872d24
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ public class DiscoveryPairingPreferenceActivity extends AbstractSettingsActivity
final Prefs prefs = GBApplication.getPrefs(); final Prefs prefs = GBApplication.getPrefs();
final Preference pref = findPreference("scanning_intensity"); final Preference pref = findPreference("scanning_intensity");
pref.setSummary(String.valueOf(prefs.getInt("scanning_intensity", 2))); pref.setSummary(String.valueOf(prefs.getInt("scanning_intensity", 1)));
pref.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() { pref.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {
@Override @Override

View File

@ -33,7 +33,7 @@
android:max="3" android:max="3"
android:min="0" android:min="0"
android:title="@string/discovery_scanning_intensity" android:title="@string/discovery_scanning_intensity"
app:defaultValue="2" android:defaultValue="1"
app:showSeekBarValue="true" /> app:showSeekBarValue="true" />
<Preference <Preference
android:selectable="false" android:selectable="false"