summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-01-27 16:07:20 -0800
committerWinson Chung <winsonc@google.com>2011-01-27 16:08:00 -0800
commit248b7cb7c80e414d90d537f8fc37429df09399f3 (patch)
tree1ac095793f641e7e1175cbe41391a4925d060ee1 /src/com/android
parent27b3721bf904d2a1789938a77d3344b8792a41e2 (diff)
downloadpackages_apps_trebuchet-248b7cb7c80e414d90d537f8fc37429df09399f3.zip
packages_apps_trebuchet-248b7cb7c80e414d90d537f8fc37429df09399f3.tar.gz
packages_apps_trebuchet-248b7cb7c80e414d90d537f8fc37429df09399f3.tar.bz2
Fixing issue with items not being removed from the homescreen. (3392097)
Change-Id: Ia3952a1001a83543f97625bdbe032a70e813a7c7
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/launcher2/Workspace.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java
index 842f2f3..24b9d5f 100644
--- a/src/com/android/launcher2/Workspace.java
+++ b/src/com/android/launcher2/Workspace.java
@@ -2737,7 +2737,8 @@ public class Workspace extends SmoothPagedView
}
for (int i = 0; i < screenCount; i++) {
- final CellLayout layout = (CellLayout) getChildAt(i);
+ final CellLayoutChildren layout =
+ (CellLayoutChildren) ((CellLayout) getChildAt(i)).getChildAt(0);
// Avoid ANRs by treating each screen separately
post(new Runnable() {