mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-09 02:23:38 +02:00
Log manual cleanup time
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user