File tree Expand file tree Collapse file tree 4 files changed +4
-16
lines changed
java/com/eveningoutpost/dexdrip Expand file tree Collapse file tree 4 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ public void onClick(View v) {
116116
117117 SharedPreferences prefs = PreferenceManager .getDefaultSharedPreferences (getApplicationContext ());
118118
119- prefs .edit ().putBoolean ("store_sensor_location" , !DontAskAgain .isChecked ()).apply ();
119+ // prefs.edit().putBoolean("store_sensor_location", !DontAskAgain.isChecked()).apply();
120120
121121 Intent intent = new Intent (getApplicationContext (), Home .class );
122122 startActivity (intent );
@@ -129,7 +129,7 @@ public void onClick(View v) {
129129
130130 SharedPreferences prefs = PreferenceManager .getDefaultSharedPreferences (getApplicationContext ());
131131
132- prefs .edit ().putBoolean ("store_sensor_location" , !DontAskAgain .isChecked ()).apply ();
132+ // prefs.edit().putBoolean("store_sensor_location", !DontAskAgain.isChecked()).apply();
133133
134134 Intent intent = new Intent (getApplicationContext (), Home .class );
135135 startActivity (intent );
Original file line number Diff line number Diff line change @@ -224,11 +224,7 @@ private void startSensorAndSetIntent() {
224224 startSensorForTime (startTime );
225225
226226 Intent intent ;
227- if (Pref .getBoolean ("store_sensor_location" , false ) && Experience .gotData ()) {
228- intent = new Intent (getApplicationContext (), NewSensorLocation .class );
229- } else {
230- intent = new Intent (getApplicationContext (), Home .class );
231- }
227+ intent = new Intent (getApplicationContext (), Home .class );
232228
233229 startActivity (intent );
234230 finish ();
Original file line number Diff line number Diff line change @@ -157,6 +157,7 @@ private static void legacySettingsFix() {
157157 Pref .setBoolean ("run_ble_scan_constantly" , false );
158158 Pref .setBoolean ("run_G5_ble_tasks_on_uithread" , false );
159159 Pref .setBoolean ("ob1_initiate_bonding_flag" , true );
160+ Pref .setBoolean ("store_sensor_location" , false );
160161 }
161162 private static void legacySettingsMoveLanguageFromNoToNb () {
162163 // Check if the user's language preference is set to "no"
Original file line number Diff line number Diff line change 16181618 android : title =" @string/title_NOT_FOR_PRODUCTION_USE" />
16191619
16201620 </PreferenceScreen >
1621- <PreferenceCategory
1622- android : key =" community_help_category"
1623- android : title =" @string/help_the_community" >
1624- <CheckBoxPreference
1625- android : defaultValue =" false"
1626- android : key =" store_sensor_location"
1627- android : summary =" @string/help_the_developers_improve_the_algorithm"
1628- android : title =" @string/store_sensor_location_to_help" />
1629- </PreferenceCategory >
16301621 </PreferenceScreen >
16311622
16321623 </PreferenceCategory >
You can’t perform that action at this time.
0 commit comments