mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Removed not battery low constraint
This commit is contained in:
parent
81368e7bdf
commit
9584a80a61
1 changed files with 0 additions and 1 deletions
|
@ -174,7 +174,6 @@ public class WorkerCleanup extends Worker {
|
|||
Constraints.Builder constraints = new Constraints.Builder();
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M && !BuildConfig.DEBUG)
|
||||
constraints.setRequiresDeviceIdle(true);
|
||||
constraints.setRequiresBatteryNotLow(true);
|
||||
|
||||
PeriodicWorkRequest workRequest =
|
||||
new PeriodicWorkRequest.Builder(WorkerCleanup.class, CLEANUP_INTERVAL, TimeUnit.HOURS)
|
||||
|
|
Loading…
Reference in a new issue