summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/touch
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2018-08-07 17:20:35 -0700
committerSunny Goyal <sunnygoyal@google.com>2018-08-08 12:12:46 -0700
commitaad3359e8eb3e5d28954f88bda8147bcb1d74236 (patch)
treeec17ba0ecaa92b14358c529621cdde0dab63631d /src/com/android/launcher3/touch
parent662f52b67f86fd0f2a8ddd32ada650268f55148b (diff)
downloadandroid_packages_apps_Trebuchet-aad3359e8eb3e5d28954f88bda8147bcb1d74236.tar.gz
android_packages_apps_Trebuchet-aad3359e8eb3e5d28954f88bda8147bcb1d74236.tar.bz2
android_packages_apps_Trebuchet-aad3359e8eb3e5d28954f88bda8147bcb1d74236.zip
Removing unused touch handling in PagedView so that it is similar to various platform class
Bug: 109828536 Change-Id: Ibaba3fb4298f2dc055d125acea5f4c47403bbef0
Diffstat (limited to 'src/com/android/launcher3/touch')
-rw-r--r--src/com/android/launcher3/touch/WorkspaceTouchListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/touch/WorkspaceTouchListener.java b/src/com/android/launcher3/touch/WorkspaceTouchListener.java
index f59f14e58..668892791 100644
--- a/src/com/android/launcher3/touch/WorkspaceTouchListener.java
+++ b/src/com/android/launcher3/touch/WorkspaceTouchListener.java
@@ -125,7 +125,7 @@ public class WorkspaceTouchListener implements OnTouchListener, Runnable {
}
if (action == ACTION_UP || action == ACTION_POINTER_UP) {
- if (!mWorkspace.isTouchActive()) {
+ if (!mWorkspace.isHandlingTouch()) {
final CellLayout currentPage =
(CellLayout) mWorkspace.getChildAt(mWorkspace.getCurrentPage());
if (currentPage != null) {