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

Commit 9c952df9 authored by Blazej Magnowski's avatar Blazej Magnowski Committed by Selim Cinek
Browse files

FalsingManager Quick settings fix

Added a falsing check with FalsingManager in the case when quick
settings are fully expanded without flinging.

Change-Id: I2af07b5732f98bd45471ee33c51273a63b42b87e
parent c349c3d4
Loading
Loading
Loading
Loading
+1 −9
Original line number Original line Diff line number Diff line
@@ -955,15 +955,7 @@ public class NotificationPanelView extends PanelView implements
                mQsTracking = false;
                mQsTracking = false;
                mTrackingPointer = -1;
                mTrackingPointer = -1;
                trackMovement(event);
                trackMovement(event);
                float fraction = getQsExpansionFraction();
                flingQsWithCurrentVelocity(y, event.getActionMasked() == MotionEvent.ACTION_CANCEL);
                if ((fraction != 0f || y >= mInitialTouchY)
                        && (fraction != 1f || y <= mInitialTouchY)) {
                    flingQsWithCurrentVelocity(y,
                            event.getActionMasked() == MotionEvent.ACTION_CANCEL);
                } else {
                    logQsSwipeDown(y);
                    mScrollYOverride = -1;
                }
                if (mVelocityTracker != null) {
                if (mVelocityTracker != null) {
                    mVelocityTracker.recycle();
                    mVelocityTracker.recycle();
                    mVelocityTracker = null;
                    mVelocityTracker = null;