Do not run peek animation when keyguard is fading
Test: answer challenge, tap repeatedly: animation doesn't run Test: tap on navbar when unlocked: animation runs Change-Id: Ibea423fca69a77e61f4b178c58e9839cd8979d7c Fixes: 75313101
This commit is contained in:
@@ -488,7 +488,7 @@ public abstract class PanelView extends FrameLayout {
|
||||
mUpdateFlingVelocity = vel;
|
||||
}
|
||||
} else if (mPanelClosedOnDown && !mHeadsUpManager.hasPinnedHeadsUp() && !mTracking
|
||||
&& !mStatusBar.isBouncerShowing()) {
|
||||
&& !mStatusBar.isBouncerShowing() && !mStatusBar.isKeyguardFadingAway()) {
|
||||
long timePassed = SystemClock.uptimeMillis() - mDownTime;
|
||||
if (timePassed < ViewConfiguration.getLongPressTimeout()) {
|
||||
// Lets show the user that he can actually expand the panel
|
||||
|
||||
Reference in New Issue
Block a user