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

Commit 23b144eb authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix for CTS testAllowWhileIdleJobInTempwhitelist"

parents 5cf41e47 de0a0155
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);
            }
        }
    }