From 248b7cb7c80e414d90d537f8fc37429df09399f3 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Thu, 27 Jan 2011 16:07:20 -0800 Subject: Fixing issue with items not being removed from the homescreen. (3392097) Change-Id: Ia3952a1001a83543f97625bdbe032a70e813a7c7 --- src/com/android/launcher2/Workspace.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/com/android/launcher2') 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() { -- cgit v1.1