Merge "Cancel previous cutoffs."
This commit is contained in:
committed by
Android (Google) Code Review
commit
f5a41a16ef
@@ -2171,7 +2171,7 @@ public final class QuotaController extends StateController {
|
||||
}
|
||||
scheduleCutoff();
|
||||
} else if (mRegularJobTimer && priorityLowered) {
|
||||
scheduleCutoff();
|
||||
rescheduleCutoff();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2207,7 +2207,7 @@ public final class QuotaController extends StateController {
|
||||
mRunningBgJobs.valueAt(i).getEffectivePriority());
|
||||
}
|
||||
if (mLowestPriority != oldPriority) {
|
||||
scheduleCutoff();
|
||||
rescheduleCutoff();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2707,7 +2707,7 @@ public final class QuotaController extends StateController {
|
||||
if (DEBUG) {
|
||||
Slog.d(TAG, pkg + " had early REACHED_QUOTA message");
|
||||
}
|
||||
mPkgTimers.get(pkg.userId, pkg.packageName).scheduleCutoff();
|
||||
mPkgTimers.get(pkg.userId, pkg.packageName).rescheduleCutoff();
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -2729,7 +2729,7 @@ public final class QuotaController extends StateController {
|
||||
if (DEBUG) {
|
||||
Slog.d(TAG, pkg + " had early REACHED_EJ_QUOTA message");
|
||||
}
|
||||
mEJPkgTimers.get(pkg.userId, pkg.packageName).scheduleCutoff();
|
||||
mEJPkgTimers.get(pkg.userId, pkg.packageName).rescheduleCutoff();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user