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

Commit 0e3645d8 authored by Kulwinder Singh's avatar Kulwinder Singh Committed by android-build-merger
Browse files

Merge "Fix for CTS testAllowWhileIdleJobInTempwhitelist"

am: 23b144eb

Change-Id: Ifce8f15e876694a35c0e0a31b05d8ea47c462628
parents 1b607c87 23b144eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1596,6 +1596,7 @@ public class JobSchedulerService extends com.android.server.SystemService
                        }
                    } break;
                    case MSG_CHECK_JOB:
                        removeMessages(MSG_CHECK_JOB);
                        if (mReportedActive) {
                            // if jobs are currently being run, queue all ready jobs for execution.
                            queueReadyJobsForExecutionLocked();
@@ -1652,7 +1653,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);
            }
        }
    }