diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java index 842f2f3bf2..24b9d5fced 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() {