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

Commit 4476db18 authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

Use ACTION_UP instead of ACTION_DOWN in handler

We should only refresh UI on ACTION_DOWN, in this case, if nothing has
handled the touch, CentralSurfaces will close QS.

However, when dragging back gesture in QSCustomizer, this is handled
properly as a back action and QSCustomizer is closed.

Test: manual
Fixes: 183172445
Change-Id: I1d31885638a7cddcb5826723ba7562e43bb5e935
parent 4700294c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1505,7 +1505,7 @@ public class CentralSurfaces extends CoreStartable implements
        return (v, event) -> {
            mAutoHideController.checkUserAutoHide(event);
            mRemoteInputManager.checkRemoteInputOutside(event);
            if (event.getAction() == MotionEvent.ACTION_DOWN) {
            if (event.getAction() == MotionEvent.ACTION_UP) {
                if (mExpandedVisible) {
                    mShadeController.animateCollapsePanels();
                }