diff options
Diffstat (limited to 'src/com/android/launcher2/LauncherApplication.java')
-rw-r--r-- | src/com/android/launcher2/LauncherApplication.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/launcher2/LauncherApplication.java b/src/com/android/launcher2/LauncherApplication.java index 9936ca682..e69c5ab0b 100644 --- a/src/com/android/launcher2/LauncherApplication.java +++ b/src/com/android/launcher2/LauncherApplication.java @@ -25,6 +25,7 @@ import android.content.IntentFilter; import android.content.res.Configuration; import android.database.ContentObserver; import android.os.Handler; +import android.view.MotionEvent; import java.lang.ref.WeakReference; @@ -33,6 +34,7 @@ public class LauncherApplication extends Application { public IconCache mIconCache; private static boolean sIsScreenLarge; private static float sScreenDensity; + private static int sLongPressTimeout = 300; WeakReference<LauncherProvider> mLauncherProvider; @Override @@ -130,4 +132,8 @@ public class LauncherApplication extends Application { public static float getScreenDensity() { return sScreenDensity; } + + public static int getLongPressTimeout() { + return sLongPressTimeout; + } } |