commit | be62afa34d58edab0fc9ba7499f0dd543039c903 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Thu Feb 03 23:14:57 2011 -0800 |
committer | Winson Chung <winsonc@google.com> | Thu Feb 03 23:16:10 2011 -0800 |
tree | 15454449096188fe113e42bcce0090bab29938db | |
parent | de4149cf71b3fe8fb4a8e64b372ccd45dfb5fb00 [diff] [blame] |
Disable multitouch to prevent crash in all apps and frozen workspace while dragging. Change-Id: I813e0294a9e3b73f43922d8cd6896e71f3664429
diff --git a/src/com/android/launcher2/CellLayoutChildren.java b/src/com/android/launcher2/CellLayoutChildren.java index 76a6900..0d0a339 100644 --- a/src/com/android/launcher2/CellLayoutChildren.java +++ b/src/com/android/launcher2/CellLayoutChildren.java
@@ -45,6 +45,9 @@ 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,