Merge changes I7c48a326,I7395ecd4 into pi-dev
* changes: Fix wrong bouncer translation during hint animation Keep animating bouncer when fingerprint
This commit is contained in:
committed by
Android (Google) Code Review
commit
4e4b6ff508
@@ -165,14 +165,15 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
|
|||||||
// • The user quickly taps on the display and we show "swipe up to unlock."
|
// • The user quickly taps on the display and we show "swipe up to unlock."
|
||||||
// • Keyguard will be dismissed by an action. a.k.a: FLAG_DISMISS_KEYGUARD_ACTIVITY
|
// • Keyguard will be dismissed by an action. a.k.a: FLAG_DISMISS_KEYGUARD_ACTIVITY
|
||||||
// • Full-screen user switcher is displayed.
|
// • Full-screen user switcher is displayed.
|
||||||
if (mOccluded || mNotificationPanelView.isUnlockHintRunning()
|
if (mNotificationPanelView.isUnlockHintRunning()) {
|
||||||
|| mBouncer.willDismissWithAction()
|
mBouncer.setExpansion(1);
|
||||||
|
} else if (mOccluded || mBouncer.willDismissWithAction()
|
||||||
|| mStatusBar.isFullScreenUserSwitcherState()) {
|
|| mStatusBar.isFullScreenUserSwitcherState()) {
|
||||||
mBouncer.setExpansion(0);
|
mBouncer.setExpansion(0);
|
||||||
} else if (mShowing && mStatusBar.isKeyguardCurrentlySecure() && !mDozing) {
|
} else if (mShowing && !mDozing) {
|
||||||
mBouncer.setExpansion(expansion);
|
mBouncer.setExpansion(expansion);
|
||||||
if (expansion != 1 && tracking && !mBouncer.isShowing()
|
if (expansion != 1 && tracking && mStatusBar.isKeyguardCurrentlySecure()
|
||||||
&& !mBouncer.isAnimatingAway()) {
|
&& !mBouncer.isShowing() && !mBouncer.isAnimatingAway()) {
|
||||||
mBouncer.show(false /* resetSecuritySelection */, false /* animated */);
|
mBouncer.show(false /* resetSecuritySelection */, false /* animated */);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user