diff options
author | Winson Chung <winsonc@google.com> | 2011-02-03 23:14:57 -0800 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-02-03 23:16:10 -0800 |
commit | be62afa34d58edab0fc9ba7499f0dd543039c903 (patch) | |
tree | 15454449096188fe113e42bcce0090bab29938db /src/com/android/launcher2/CellLayoutChildren.java | |
parent | de4149cf71b3fe8fb4a8e64b372ccd45dfb5fb00 (diff) | |
download | android_packages_apps_Trebuchet-be62afa34d58edab0fc9ba7499f0dd543039c903.tar.gz android_packages_apps_Trebuchet-be62afa34d58edab0fc9ba7499f0dd543039c903.tar.bz2 android_packages_apps_Trebuchet-be62afa34d58edab0fc9ba7499f0dd543039c903.zip |
Disable multitouch to prevent crash in all apps and frozen workspace while dragging.
Change-Id: I813e0294a9e3b73f43922d8cd6896e71f3664429
Diffstat (limited to 'src/com/android/launcher2/CellLayoutChildren.java')
-rw-r--r-- | src/com/android/launcher2/CellLayoutChildren.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/launcher2/CellLayoutChildren.java b/src/com/android/launcher2/CellLayoutChildren.java index 76a690094..0d0a33907 100644 --- a/src/com/android/launcher2/CellLayoutChildren.java +++ b/src/com/android/launcher2/CellLayoutChildren.java @@ -45,6 +45,9 @@ public class CellLayoutChildren extends ViewGroup { super(context); mWallpaperManager = WallpaperManager.getInstance(context); setLayerType(LAYER_TYPE_HARDWARE, null); + + // Disable multitouch for the workspace + setMotionEventSplittingEnabled(false); } public void setCellDimensions(int cellWidth, int cellHeight, |