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

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

Merge "Fix for CTS testAllowWhileIdleJobInTempwhitelist" into pie-gsi

parents bcb59884 36d759a5
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);
            }
        }
    }