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

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

Merge "Fix for CTS testAllowWhileIdleJobInTempwhitelist"

parents eacd0d7f 9557fe83
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2040,6 +2040,7 @@ public class JobSchedulerService extends com.android.server.SystemService
                        if (DEBUG) {
                            Slog.d(TAG, "MSG_CHECK_JOB");
                        }
                        removeMessages(MSG_CHECK_JOB);
                        if (mReportedActive) {
                            // if jobs are currently being run, queue all ready jobs for execution.
                            queueReadyJobsForExecutionLocked();
@@ -2099,7 +2100,6 @@ public class JobSchedulerService extends com.android.server.SystemService
                }
                maybeRunPendingJobsLocked();
                // Don't remove JOB_EXPIRED in case one came along while processing the queue.
                removeMessages(MSG_CHECK_JOB);
            }
        }
    }