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

Commit ed01ddd5 authored by Selim Cinek's avatar Selim Cinek Committed by Android (Google) Code Review
Browse files

Merge "QuickSettings was inaccessible sometimes with empty shade."

parents d624a443 91c39ef7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -529,7 +529,6 @@ public class PanelView extends FrameLayout {

        switch (event.getActionMasked()) {
            case MotionEvent.ACTION_DOWN:
                mTracking = true;
                if (mHandleView != null) {
                    mHandleView.setPressed(true);
                    // catch the press state change
@@ -561,6 +560,7 @@ public class PanelView extends FrameLayout {
                    if (h < -mTouchSlop) {
                        mInitialOffsetOnTouch = mExpandedHeight;
                        mInitialTouchY = y;
                        mTracking = true;
                        return true;
                    }
                }