diff options
Diffstat (limited to 'src/com/android/launcher2/PagedView.java')
-rw-r--r-- | src/com/android/launcher2/PagedView.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/launcher2/PagedView.java b/src/com/android/launcher2/PagedView.java index 1180106c9..bd41e02ef 100644 --- a/src/com/android/launcher2/PagedView.java +++ b/src/com/android/launcher2/PagedView.java @@ -113,8 +113,8 @@ public abstract class PagedView extends ViewGroup { protected int mPageLayoutWidthGap; protected int mPageLayoutHeightGap; protected int mPageLayoutMaxHeight; - protected int mCellCountX; - protected int mCellCountY; + protected int mCellCountX = -1; + protected int mCellCountY = -1; protected boolean mCenterPagesVertically; protected boolean mAllowOverScroll = true; protected int mUnboundedScrollX; @@ -1549,7 +1549,7 @@ public abstract class PagedView extends ViewGroup { */ public abstract void syncPageItems(int page); - public void invalidatePageData() { + protected void invalidatePageData() { if (mContentIsRefreshable) { // Update all the pages syncPages(); |