summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/PagedViewCellLayoutChildren.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/PagedViewCellLayoutChildren.java')
-rw-r--r--src/com/android/launcher3/PagedViewCellLayoutChildren.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher3/PagedViewCellLayoutChildren.java b/src/com/android/launcher3/PagedViewCellLayoutChildren.java
index c9e108d98..84d2b1dd3 100644
--- a/src/com/android/launcher3/PagedViewCellLayoutChildren.java
+++ b/src/com/android/launcher3/PagedViewCellLayoutChildren.java
@@ -91,7 +91,8 @@ public class PagedViewCellLayoutChildren extends ViewGroup {
View child = getChildAt(i);
PagedViewCellLayout.LayoutParams lp =
(PagedViewCellLayout.LayoutParams) child.getLayoutParams();
- lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap,
+ lp.setup(getContext(),
+ mCellWidth, mCellHeight, mWidthGap, mHeightGap,
getPaddingLeft(),
getPaddingTop());