Default disable auto optimize

pull/174/head
M66B 5 years ago
parent 4bb1c0360b
commit 35ae9a38f7

@ -369,7 +369,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
swFts.setChecked(prefs.getBoolean("fts", false));
swEnglish.setChecked(prefs.getBoolean("english", false));
swWatchdog.setChecked(prefs.getBoolean("watchdog", true));
swOptimize.setChecked(prefs.getBoolean("auto_optimize", true));
swOptimize.setChecked(prefs.getBoolean("auto_optimize", false));
swUpdates.setChecked(prefs.getBoolean("updates", true));
swUpdates.setVisibility(
Helper.isPlayStoreInstall() || !Helper.hasValidFingerprint(getContext())

@ -829,7 +829,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
if (now - start > STILL_THERE_THRESHOLD)
return;
boolean auto_optimize = prefs.getBoolean("auto_optimize", true);
boolean auto_optimize = prefs.getBoolean("auto_optimize", false);
if (!auto_optimize)
return;

Loading…
Cancel
Save