Consume ACTION_UP when fling is detected on top of icon

am: 035a516e18

Change-Id: I0eb8f0c83e1a1611d8bb3b9309d69b8df7c7a19d
This commit is contained in:
Hyunyoung Song authored and android-build-merger committed 2016-09-30 23:29:32 +00:00
commit 1784d579f4
1 file changed
+2
+2
View File
@@ -598,6 +598,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;
}
@@ -609,6 +610,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;
}