Skip to content

Commit

Permalink
Remove setting Authenticate before each read
Browse files Browse the repository at this point in the history
  • Loading branch information
Navid200 committed Nov 13, 2023
1 parent 4399ae2 commit e16a5df
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("authentificate_before_reading", true);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
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 @@ -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" />
<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 e16a5df

Please sign in to comment.