Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec46f384 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

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
parent 50228a64
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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