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.cancel(false);
|
||||||
mPendingLockCheck = null;
|
mPendingLockCheck = null;
|
||||||
}
|
}
|
||||||
|
reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onResume(int reason) {
|
public void onResume(int reason) {
|
||||||
reset();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -1184,6 +1184,10 @@ public class KeyguardViewMediator extends SystemUI {
|
|||||||
Trace.endSection();
|
Trace.endSection();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isHiding() {
|
||||||
|
return mHiding;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handles SET_OCCLUDED message sent by setOccluded()
|
* Handles SET_OCCLUDED message sent by setOccluded()
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -3942,7 +3942,8 @@ public class StatusBar extends SystemUI implements DemoMode,
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void showBouncerIfKeyguard() {
|
private void showBouncerIfKeyguard() {
|
||||||
if (mState == StatusBarState.KEYGUARD || mState == StatusBarState.SHADE_LOCKED) {
|
if ((mState == StatusBarState.KEYGUARD || mState == StatusBarState.SHADE_LOCKED)
|
||||||
|
&& !mKeyguardViewMediator.isHiding()) {
|
||||||
showBouncer(true /* animated */);
|
showBouncer(true /* animated */);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user