Merge "Avoid ignoring turning on screen requested by slow activity" into rvc-dev am: 061e5065db am: f03803670d
Change-Id: I51bad58b07d96228acac4efba682fbc31dafa218
This commit is contained in:
@@ -1688,6 +1688,8 @@ class ActivityStack extends Task {
|
|||||||
ensureActivitiesVisible(null /* starting */, 0 /* configChanges */,
|
ensureActivitiesVisible(null /* starting */, 0 /* configChanges */,
|
||||||
!PRESERVE_WINDOWS);
|
!PRESERVE_WINDOWS);
|
||||||
nothingToResume = shouldSleepActivities();
|
nothingToResume = shouldSleepActivities();
|
||||||
|
} else if (next.currentLaunchCanTurnScreenOn() && next.canTurnScreenOn()) {
|
||||||
|
nothingToResume = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (nothingToResume) {
|
if (nothingToResume) {
|
||||||
|
|||||||
Reference in New Issue
Block a user