Merge "Remove cancelled job from evaluation list." into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ff2c2c8aa0
@@ -1387,6 +1387,7 @@ public class JobSchedulerService extends com.android.server.SystemService
|
|||||||
if (mPendingJobQueue.remove(cancelled)) {
|
if (mPendingJobQueue.remove(cancelled)) {
|
||||||
mJobPackageTracker.noteNonpending(cancelled);
|
mJobPackageTracker.noteNonpending(cancelled);
|
||||||
}
|
}
|
||||||
|
mChangedJobList.remove(cancelled);
|
||||||
// Cancel if running.
|
// Cancel if running.
|
||||||
mConcurrencyManager.stopJobOnServiceContextLocked(
|
mConcurrencyManager.stopJobOnServiceContextLocked(
|
||||||
cancelled, reason, internalReasonCode, debugReason);
|
cancelled, reason, internalReasonCode, debugReason);
|
||||||
|
|||||||
Reference in New Issue
Block a user