Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jamorham committed Jun 28, 2024
2 parents a78e4cc + 994b0ca commit f418d5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1184,11 +1184,6 @@ public boolean onPreferenceChange(Preference preference, Object newValue) {
final Preference collectionMethod = findPreference("dex_collection_method");
final Preference runInForeground = findPreference("run_service_in_foreground");
final Preference g5nonraw = findPreference("g5_non_raw_method");
final Preference g5extendedsut = findPreference("g5_extended_sut");
final Preference scanConstantly = findPreference("run_ble_scan_constantly");
final Preference runOnMain = findPreference("run_G5_ble_tasks_on_uithread");
final Preference reAuth = findPreference("always_get_new_keys");
final Preference reBond = findPreference("always_unbond_G5");
final Preference wifiRecievers = findPreference("wifi_recievers_addresses");
final Preference predictiveBG = findPreference("predictive_bg");
final Preference interpretRaw = findPreference("interpret_raw");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2418,7 +2418,7 @@ private synchronized void syncBgData(DataMap dataMap, Context context) {//KS
changed = true;
bgData.save();
} else {
if (bgData.source_info != null && (bgData.source_info.contains("Native") || bgData.source_info.contains("Follow"))) {
if (bgData.source_info != null && (bgData.source_info.contains("Native") || bgData.source_info.contains("Follow") || bgData.source_info.contains("G7"))) {
UserError.Log.d(TAG, "Saving BgData without calibration as source info is native or follow");
bgData.sensor = sensor;
bgData.sensor_uuid = sensor.uuid;
Expand Down

0 comments on commit f418d5b

Please sign in to comment.