Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f49eeaf9 authored by Christopher Tate's avatar Christopher Tate Committed by Android Git Automerger
Browse files

am 581bb537: am 25e17ef6: am de8c7526: Merge "Give scheduled jobs a more...

am 581bb537: am 25e17ef6: am de8c7526: Merge "Give scheduled jobs a more substantial timeslice" into mnc-dev

* commit '581bb537':
  Give scheduled jobs a more substantial timeslice
parents 47294cbd 581bb537
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ public class JobServiceContext extends IJobCallback.Stub implements ServiceConne
    private static final int defaultMaxActiveJobsPerService =
            ActivityManager.isLowRamDeviceStatic() ? 1 : 3;
    /** Amount of time a job is allowed to execute for before being considered timed-out. */
    private static final long EXECUTING_TIMESLICE_MILLIS = 60 * 1000;
    private static final long EXECUTING_TIMESLICE_MILLIS = 10 * 60 * 1000;
    /** Amount of time the JobScheduler will wait for a response from an app for a message. */
    private static final long OP_TIMEOUT_MILLIS = 8 * 1000;