diff --git a/app/src/main/java/com/eveningoutpost/dexdrip/services/Ob1G5CollectionService.java b/app/src/main/java/com/eveningoutpost/dexdrip/services/Ob1G5CollectionService.java index 2c843592e4..ccfa545f5e 100644 --- a/app/src/main/java/com/eveningoutpost/dexdrip/services/Ob1G5CollectionService.java +++ b/app/src/main/java/com/eveningoutpost/dexdrip/services/Ob1G5CollectionService.java @@ -1785,7 +1785,7 @@ public void instantCreateBondIfAllowed() { private boolean getInitiateBondingFlag() { - return Pref.getBoolean("ob1_initiate_bonding_flag", true); + return true; // There is no reason not to initiate bonding } diff --git a/app/src/main/java/com/eveningoutpost/dexdrip/utilitymodels/IdempotentMigrations.java b/app/src/main/java/com/eveningoutpost/dexdrip/utilitymodels/IdempotentMigrations.java index a9803735e7..65c0c5776a 100644 --- a/app/src/main/java/com/eveningoutpost/dexdrip/utilitymodels/IdempotentMigrations.java +++ b/app/src/main/java/com/eveningoutpost/dexdrip/utilitymodels/IdempotentMigrations.java @@ -151,6 +151,7 @@ private static void legacySettingsFix() { Pref.setBoolean("always_get_new_keys", true); Pref.setBoolean("run_ble_scan_constantly", false); Pref.setBoolean("run_G5_ble_tasks_on_uithread", false); + Pref.setBoolean("ob1_initiate_bonding_flag", true); } private static void legacySettingsMoveLanguageFromNoToNb() { // Check if the user's language preference is set to "no" diff --git a/app/src/main/res/xml/pref_data_source.xml b/app/src/main/res/xml/pref_data_source.xml index 07ef37e6e7..b5495d3fe4 100644 --- a/app/src/main/res/xml/pref_data_source.xml +++ b/app/src/main/res/xml/pref_data_source.xml @@ -400,12 +400,6 @@ android:key="ob1_special_pairing_workaround" android:summary="Some Samsung devices can have an error where they lose the pairing information. This attempts to work around the issue." android:title="@string/special_pairing_workaround" /> -