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 06a65e6960..648563d278 100644 --- a/app/src/main/java/com/eveningoutpost/dexdrip/utilitymodels/IdempotentMigrations.java +++ b/app/src/main/java/com/eveningoutpost/dexdrip/utilitymodels/IdempotentMigrations.java @@ -147,6 +147,7 @@ private static void legacySettingsFix() { Pref.setBoolean("use_ob1_g5_collector_service", true); Pref.setBoolean("ob1_g5_fallback_to_xdrip", false); Pref.setBoolean("always_unbond_G5", false); + Pref.setBoolean("authentificate_before_reading", true); } } diff --git a/app/src/main/java/com/eveningoutpost/dexdrip/utils/Preferences.java b/app/src/main/java/com/eveningoutpost/dexdrip/utils/Preferences.java index 493ecf412d..6f8ca43c15 100644 --- a/app/src/main/java/com/eveningoutpost/dexdrip/utils/Preferences.java +++ b/app/src/main/java/com/eveningoutpost/dexdrip/utils/Preferences.java @@ -2493,6 +2493,7 @@ private void removeLegacyPreferences() { // removePreferenceFromCategory("use_ob1_g5_collector_service", "ob1_options"); // removePreferenceFromCategory("ob1_g5_fallback_to_xdrip", "ob1_options"); // removePreferenceFromCategory("always_unbond_G5", "ob1_options"); + // removePreferenceFromCategory("authentificate_before_reading", "ob1_options"); } private void removePreferenceFromCategory(final String preference, final String category) { diff --git a/app/src/main/res/xml/pref_data_source.xml b/app/src/main/res/xml/pref_data_source.xml index 873bb23305..bd549bfe3c 100644 --- a/app/src/main/res/xml/pref_data_source.xml +++ b/app/src/main/res/xml/pref_data_source.xml @@ -406,11 +406,6 @@ android:key="run_G5_ble_tasks_on_uithread" android:summary="@string/g5_force_ui_thread" android:title="@string/force_g5_ui_thread" /> -