1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-24 10:56:50 +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 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() {
@Override

View File

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