Merge "Don't reset the keyguard on occlusion if it's going away." into tm-d1-dev am: f50462e680 am: 9f8a5c028b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19509200 Change-Id: Iada352f84ce0b61e8a8912e506ea2743b3724255 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -739,8 +739,10 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
|
|||||||
}
|
}
|
||||||
mNotificationShadeWindowController.setKeyguardOccluded(mOccluded);
|
mNotificationShadeWindowController.setKeyguardOccluded(mOccluded);
|
||||||
|
|
||||||
// setDozing(false) will call reset once we stop dozing.
|
// setDozing(false) will call reset once we stop dozing. Also, if we're going away, there's
|
||||||
if (!mDozing) {
|
// no need to reset the keyguard views as we'll be gone shortly. Resetting now could cause
|
||||||
|
// unexpected visible behavior if the keyguard is still visible as we're animating unlocked.
|
||||||
|
if (!mDozing && !mKeyguardStateController.isKeyguardGoingAway()) {
|
||||||
// If Keyguard is reshown, don't hide the bouncer as it might just have been requested
|
// If Keyguard is reshown, don't hide the bouncer as it might just have been requested
|
||||||
// by a FLAG_DISMISS_KEYGUARD_ACTIVITY.
|
// by a FLAG_DISMISS_KEYGUARD_ACTIVITY.
|
||||||
reset(isOccluding /* hideBouncerWhenShowing*/);
|
reset(isOccluding /* hideBouncerWhenShowing*/);
|
||||||
|
|||||||
Reference in New Issue
Block a user