mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Improved logging
This commit is contained in:
parent
6471747b58
commit
895648cf86
2 changed files with 1 additions and 2 deletions
|
@ -166,7 +166,7 @@ public class WorkerCleanup extends Worker {
|
|||
}
|
||||
|
||||
static void queue(Context context) {
|
||||
Log.i("Queuing " + getName());
|
||||
Log.i("Queuing " + getName() + " every " + CLEANUP_INTERVAL + " hours");
|
||||
|
||||
Constraints.Builder constraints = new Constraints.Builder();
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)
|
||||
|
|
|
@ -41,7 +41,6 @@ public class WorkerPoll extends Worker {
|
|||
|
||||
Log.i("Queued " + getName());
|
||||
} else {
|
||||
|
||||
Log.i("Cancelling " + getName());
|
||||
WorkManager.getInstance(context).cancelUniqueWork(getName());
|
||||
Log.i("Cancelled " + getName());
|
||||
|
|
Loading…
Reference in a new issue