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

Commit 035a516e authored by Hyunyoung Song's avatar Hyunyoung Song
Browse files

Consume ACTION_UP when fling is detected on top of icon

Bug: Adam found out that when you swipe down fast on an icon, you can
launch search AND launch an app. Only one should trigger and not both.

Change-Id: I66b9df26d8bb355f011d057dafd45f90f59b82ae
parent ffad9620
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -599,6 +599,7 @@ public class Workspace extends PagedView
                    if (shouldConsumeTouch(v)) return true;
                    if (super.onTouch(v, ev)) {
                        mLauncher.startSearch("", false, null, false);
                        return true;
                    }
                    return false;
                }
@@ -610,6 +611,7 @@ public class Workspace extends PagedView
                    if (shouldConsumeTouch(v)) return true;
                    if (super.onTouch(v, ev)) {
                        mLauncher.startSearch("", false, null, false);
                        return true;
                    }
                    return false;
                }