mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-29 11:15:51 +00:00
Log manual cleanup time
This commit is contained in:
parent
edfe608730
commit
27b9f23fec
1 changed files with 3 additions and 4 deletions
|
@ -158,10 +158,9 @@ public class WorkerCleanup extends Worker {
|
|||
Log.e(ex);
|
||||
} finally {
|
||||
Log.i("End cleanup");
|
||||
if (!manual) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
prefs.edit().putLong("last_cleanup", new Date().getTime()).apply();
|
||||
}
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
prefs.edit().putLong("last_cleanup", new Date().getTime()).apply();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue