diff options
Diffstat (limited to 'src/com/android/launcher2/PagedView.java')
-rw-r--r-- | src/com/android/launcher2/PagedView.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher2/PagedView.java b/src/com/android/launcher2/PagedView.java index 9dbe61d11..17d18f8bf 100644 --- a/src/com/android/launcher2/PagedView.java +++ b/src/com/android/launcher2/PagedView.java @@ -1097,7 +1097,7 @@ public abstract class PagedView extends ViewGroup { ArrayList<Checkable> checked = new ArrayList<Checkable>(); final int childCount = getChildCount(); for (int i = 0; i < childCount; ++i) { - final PagedViewCellLayout layout = (PagedViewCellLayout) getChildAt(i); + final ViewGroup layout = (ViewGroup) getChildAt(i); final int grandChildCount = layout.getChildCount(); for (int j = 0; j < grandChildCount; ++j) { final View v = layout.getChildAt(j); @@ -1117,7 +1117,7 @@ public abstract class PagedView extends ViewGroup { if (mChoiceMode == CHOICE_MODE_SINGLE) { final int childCount = getChildCount(); for (int i = 0; i < childCount; ++i) { - final PagedViewCellLayout layout = (PagedViewCellLayout) getChildAt(i); + final ViewGroup layout = (ViewGroup) getChildAt(i); final int grandChildCount = layout.getChildCount(); for (int j = 0; j < grandChildCount; ++j) { final View v = layout.getChildAt(j); |