mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 01:55:50 +01:00
Discovery activity: set scanning sensitivity to level 2
This commit is contained in:
parent
8bfe37e61f
commit
30c7872d24
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user