Merge changes from topic "presubmit-am-ea18b7bdcd494f359caebde79f549279" into tm-mainline-prod

* changes:
  [automerge] Remove cancelled job from evaluation list. 2p: be7816af8f
  Remove cancelled job from evaluation list.
This commit is contained in:
TreeHugger Robot
2022-04-11 15:36:34 +00:00
committed by Android (Google) Code Review

View File

@@ -1387,6 +1387,7 @@ public class JobSchedulerService extends com.android.server.SystemService
if (mPendingJobQueue.remove(cancelled)) {
mJobPackageTracker.noteNonpending(cancelled);
}
mChangedJobList.remove(cancelled);
// Cancel if running.
mConcurrencyManager.stopJobOnServiceContextLocked(
cancelled, reason, internalReasonCode, debugReason);