[automerge] Fix starting job logging. 2p: 9ec24237e6

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17666549

Bug: 141645789
Change-Id: Ie8d35b2f3ddcd9e982db9706596916a59759f2c2
This commit is contained in:
Kweku Adams
2022-04-08 20:43:11 +00:00
committed by Presubmit Automerger Backend

View File

@@ -1208,7 +1208,7 @@ class JobConcurrencyManager {
}
if (highestBiasJob != null) {
if (DEBUG) {
Slog.d(TAG, "Running job " + jobStatus + " as preemption");
Slog.d(TAG, "Running job " + highestBiasJob + " as preemption");
}
mWorkCountTracker.stageJob(highBiasWorkType, highBiasAllWorkTypes);
startJobLocked(worker, highestBiasJob, highBiasWorkType);
@@ -1219,7 +1219,7 @@ class JobConcurrencyManager {
worker.clearPreferredUid();
if (backupJob != null) {
if (DEBUG) {
Slog.d(TAG, "Running job " + jobStatus + " instead");
Slog.d(TAG, "Running job " + backupJob + " instead");
}
mWorkCountTracker.stageJob(backupWorkType, backupAllWorkTypes);
startJobLocked(worker, backupJob, backupWorkType);
@@ -1263,7 +1263,7 @@ class JobConcurrencyManager {
// This slot is free, and we haven't yet hit the limit on
// concurrent jobs... we can just throw the job in to here.
if (DEBUG) {
Slog.d(TAG, "About to run job: " + jobStatus);
Slog.d(TAG, "About to run job: " + highestBiasJob);
}
mWorkCountTracker.stageJob(highBiasWorkType, highBiasAllWorkTypes);
startJobLocked(worker, highestBiasJob, highBiasWorkType);