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.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher3/CheckLongPressHelper.java b/src/com/android/launcher3/CheckLongPressHelper.java
index 968dc79aa..81149793d 100644
--- a/src/com/android/launcher3/CheckLongPressHelper.java
+++ b/src/com/android/launcher3/CheckLongPressHelper.java
@@ -45,7 +45,8 @@ public class CheckLongPressHelper {
if (mPendingCheckForLongPress == null) {
mPendingCheckForLongPress = new CheckForLongPress();
}
- mView.postDelayed(mPendingCheckForLongPress, LauncherAppState.getLongPressTimeout());
+ mView.postDelayed(mPendingCheckForLongPress,
+ LauncherAppState.getInstance().getLongPressTimeout());
}
public void cancelLongPress() {