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

Commit c50f11c4 authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Android (Google) Code Review
Browse files

Merge "Merge "Bouncer: Use Y coord delta instead of velocity." into tm-dev am: aa917e54"

parents 8ec3d186 1ad6e928
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -445,7 +445,7 @@ public abstract class PanelViewController {
                mLockscreenGestureLogger.log(LockscreenUiEvent.LOCKSCREEN_UNLOCK);
            }
            @Classifier.InteractionType int interactionType = vel == 0 ? GENERIC
                    : vel > 0 ? QUICK_SETTINGS
                    : y - mInitialTouchY > 0 ? QUICK_SETTINGS
                            : (mKeyguardStateController.canDismissLockScreen()
                                    ? UNLOCK : BOUNCER_UNLOCK);

@@ -532,7 +532,7 @@ public abstract class PanelViewController {
            return true;
        }

        @Classifier.InteractionType int interactionType = vel > 0
        @Classifier.InteractionType int interactionType = y - mInitialTouchY > 0
                ? QUICK_SETTINGS : (
                        mKeyguardStateController.canDismissLockScreen() ? UNLOCK : BOUNCER_UNLOCK);