Merge "Bouncer animation and message" into pi-dev
am: be72f3d5b8
Change-Id: Ib2244c7f448e7dafe0f6f87958e8677949de808f
This commit is contained in:
@@ -265,11 +265,11 @@ public abstract class KeyguardAbsKeyInputView extends LinearLayout
|
||||
mPendingLockCheck.cancel(false);
|
||||
mPendingLockCheck = null;
|
||||
}
|
||||
reset();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onResume(int reason) {
|
||||
reset();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1184,6 +1184,10 @@ public class KeyguardViewMediator extends SystemUI {
|
||||
Trace.endSection();
|
||||
}
|
||||
|
||||
public boolean isHiding() {
|
||||
return mHiding;
|
||||
}
|
||||
|
||||
/**
|
||||
* Handles SET_OCCLUDED message sent by setOccluded()
|
||||
*/
|
||||
|
||||
@@ -3942,7 +3942,8 @@ public class StatusBar extends SystemUI implements DemoMode,
|
||||
}
|
||||
|
||||
private void showBouncerIfKeyguard() {
|
||||
if (mState == StatusBarState.KEYGUARD || mState == StatusBarState.SHADE_LOCKED) {
|
||||
if ((mState == StatusBarState.KEYGUARD || mState == StatusBarState.SHADE_LOCKED)
|
||||
&& !mKeyguardViewMediator.isHiding()) {
|
||||
showBouncer(true /* animated */);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user