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

Commit 228a605d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Avoid unnecessary work." into tm-dev

parents daf36ca4 c9a5e428
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -606,6 +606,11 @@ class JobConcurrencyManager {
            Slog.d(TAG, printPendingQueueLocked());
        }

        if (mService.getPendingJobQueue().size() == 0) {
            // Nothing to do.
            return;
        }

        final PendingJobQueue pendingJobQueue = mService.getPendingJobQueue();
        final List<JobServiceContext> activeServices = mActiveServices;