Merge "Allow for activities to resumed if keyguard is occluded." into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
fe478ff7ba
@@ -3375,7 +3375,8 @@ public class ActivityStackSupervisor extends ConfigurationContainer implements D
|
||||
stack.goToSleepIfPossible(false /* shuttingDown */);
|
||||
} else {
|
||||
stack.awakeFromSleepingLocked();
|
||||
if (isFocusedStack(stack) && !mKeyguardController.isKeyguardLocked()) {
|
||||
if (isFocusedStack(stack)
|
||||
&& !mKeyguardController.isKeyguardShowing(display.mDisplayId)) {
|
||||
// If the keyguard is unlocked - resume immediately.
|
||||
// It is possible that the display will not be awake at the time we
|
||||
// process the keyguard going away, which can happen before the sleep token
|
||||
|
||||
Reference in New Issue
Block a user