Merge "Log package name that becomes active in the NEVER bucket." into rvc-dev am: 14b289e661 am: c38a024e01 am: c9021a2d14
Change-Id: Ib29e00bef187fa0607fa1ac81744153b80522c72
This commit is contained in:
@@ -184,7 +184,6 @@ public final class BackgroundJobsController extends StateController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
boolean updateSingleJobRestrictionLocked(JobStatus jobStatus, int activeState) {
|
boolean updateSingleJobRestrictionLocked(JobStatus jobStatus, int activeState) {
|
||||||
|
|
||||||
final int uid = jobStatus.getSourceUid();
|
final int uid = jobStatus.getSourceUid();
|
||||||
final String packageName = jobStatus.getSourcePackageName();
|
final String packageName = jobStatus.getSourcePackageName();
|
||||||
|
|
||||||
@@ -199,7 +198,7 @@ public final class BackgroundJobsController extends StateController {
|
|||||||
isActive = (activeState == KNOWN_ACTIVE);
|
isActive = (activeState == KNOWN_ACTIVE);
|
||||||
}
|
}
|
||||||
if (isActive && jobStatus.getStandbyBucket() == NEVER_INDEX) {
|
if (isActive && jobStatus.getStandbyBucket() == NEVER_INDEX) {
|
||||||
Slog.wtf(TAG, "App became active but still in NEVER bucket");
|
Slog.wtf(TAG, "App " + packageName + " became active but still in NEVER bucket");
|
||||||
}
|
}
|
||||||
boolean didChange = jobStatus.setBackgroundNotRestrictedConstraintSatisfied(canRun);
|
boolean didChange = jobStatus.setBackgroundNotRestrictedConstraintSatisfied(canRun);
|
||||||
didChange |= jobStatus.setUidActive(isActive);
|
didChange |= jobStatus.setUidActive(isActive);
|
||||||
|
|||||||
Reference in New Issue
Block a user