mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Run vacuum manually only
This commit is contained in:
parent
849c795274
commit
2293cd0bee
2 changed files with 4 additions and 4 deletions
|
@ -192,9 +192,6 @@ public class ApplicationEx extends Application {
|
|||
editor.putBoolean("enabled", true);
|
||||
}
|
||||
|
||||
if (version < BuildConfig.VERSION_CODE)
|
||||
editor.putBoolean("vacuum", true);
|
||||
|
||||
if (BuildConfig.DEBUG && false) {
|
||||
editor.remove("app_support");
|
||||
editor.remove("notify_archive");
|
||||
|
|
|
@ -107,7 +107,10 @@ public class WorkerCleanup extends Worker {
|
|||
|
||||
// Clear last search
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
prefs.edit().remove("last_search").apply();
|
||||
prefs.edit()
|
||||
.remove("last_search")
|
||||
.putBoolean("vacuum", true)
|
||||
.apply();
|
||||
}
|
||||
|
||||
long now = new Date().getTime();
|
||||
|
|
Loading…
Reference in a new issue