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

Commit 16f9e6cc authored by Kweku Adams's avatar Kweku Adams Committed by Presubmit Automerger Backend
Browse files

[automerge] Remove cancelled job from evaluation list. 2p: be7816af

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17663060

Bug: 141645789
Bug: 228334264
Change-Id: I5fb93fa93b55e768c9023c3983cdbcd7fd9bb22f
parents 2a8d4890 be7816af
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);