summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/CheckLongPressHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/CheckLongPressHelper.java')
-rw-r--r--src/com/android/launcher3/CheckLongPressHelper.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/launcher3/CheckLongPressHelper.java b/src/com/android/launcher3/CheckLongPressHelper.java
index 483c62249..bd1d84128 100644
--- a/src/com/android/launcher3/CheckLongPressHelper.java
+++ b/src/com/android/launcher3/CheckLongPressHelper.java
@@ -30,6 +30,8 @@ public class CheckLongPressHelper {
class CheckForLongPress implements Runnable {
public void run() {
+ if (!mView.isLongClickable()) return;
+
if ((mView.getParent() != null) && mView.hasWindowFocus()
&& !mHasPerformedLongPress) {
boolean handled;