Skip to content

Commit

Permalink
Remove setting Authenticate before each read (#3183)
Browse files Browse the repository at this point in the history
* Remove setting Authenticate before each read

* Right key

---------

Co-authored-by: Navid <Navid200@users.noreply.github.com>
  • Loading branch information
Navid200 and Navid200 authored Dec 11, 2023
1 parent 718d854 commit 14568c7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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("always_get_new_keys", true);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -2508,6 +2508,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("always_get_new_keys", "ob1_options");
}

private void removePreferenceFromCategory(final String preference, final String category) {
Expand Down
5 changes: 0 additions & 5 deletions app/src/main/res/xml/pref_data_source.xml
Original file line number Diff line number Diff line change
Expand Up @@ -413,11 +413,6 @@
android:key="run_G5_ble_tasks_on_uithread"
android:summary="@string/g5_force_ui_thread"
android:title="@string/force_g5_ui_thread" />
<CheckBoxPreference
android:defaultValue="true"
android:key="always_get_new_keys"
android:summary="@string/g5_full_authentification"
android:title="@string/authentificate_before_reading" />
</PreferenceCategory>
<PreferenceCategory
android:key="dex_battery_category"
Expand Down

0 comments on commit 14568c7

Please sign in to comment.