Merge "Dismiss keyguard if pulsing unlocked" into qt-dev

am: 1bdcb36b94

Change-Id: I1aff9863900b3e1732ad9fc353065f74ca1fc951
This commit is contained in:
Lucas Dupin
2019-04-19 21:26:03 -07:00
committed by android-build-merger

View File

@@ -241,6 +241,10 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
&& !mBouncer.isShowing() && !mBouncer.isAnimatingAway()) {
mBouncer.show(false /* resetSecuritySelection */, false /* scrimmed */);
}
} else if (mPulsing && expansion == KeyguardBouncer.EXPANSION_VISIBLE) {
// Panel expanded while pulsing but didn't translate the bouncer (because we are
// unlocked.) Let's simply wake-up to dismiss the lock screen.
mStatusBar.wakeUpIfDozing(SystemClock.uptimeMillis(), mContainer, "BOUNCER_VISIBLE");
}
}