summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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() {