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

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

Merge "Fix for CTS testAllowWhileIdleJobInTempwhitelist" am: 23b144eb

am: 0e3645d8

Change-Id: Ifdba2bfe1d83d2bb3f0510c83e7dd5f89e5bce3b
parents 59691cc2 0e3645d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1610,6 +1610,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();
@@ -1666,7 +1667,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);
            }
        }
    }