Updated work manager

This commit is contained in:
M66B
2019-04-25 11:26:26 +02:00
parent 9ef222c4c6
commit 1ae23fb11f
3 changed files with 20 additions and 28 deletions

View File

@@ -151,7 +151,7 @@ public class ServiceSynchronize extends LifecycleService {
}
});
WorkerCleanup.queue();
WorkerCleanup.queue(this);
}
@Override
@@ -169,7 +169,7 @@ public class ServiceSynchronize extends LifecycleService {
Log.e(ex);
}
WorkerCleanup.cancel();
WorkerCleanup.cancel(this);
stopForeground(true);