Synchronizing on the new-apps list before modifying it. (Bug 6621553)
- Minor tweak to qsb padding - Adding yet more logging for single-app-page issue Change-Id: I4272dd7a70c9ac26f026b03a1f991f14844fdb9d
This commit is contained in:
1 parent
e6d3361ee8
commit
bfeac0681b
12 files changed
+35
-29
No files matched your search
@@ -234,6 +234,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
|
||||
mDirtyPageContent.ensureCapacity(32);
|
||||
mScroller = new Scroller(getContext(), new ScrollInterpolator());
|
||||
mCurrentPage = 0;
|
||||
if (this instanceof AppsCustomizePagedView) Log.d(TAG, "6549598 init() mCurrentPage: " + mCurrentPage);
|
||||
mCenterPagesVertically = true;
|
||||
|
||||
final ViewConfiguration configuration = ViewConfiguration.get(getContext());
|
||||
@@ -317,7 +318,9 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
mCurrentPage = Math.max(0, Math.min(currentPage, getPageCount() - 1));
|
||||
if (this instanceof AppsCustomizePagedView) Log.d(TAG, "6549598 setCurrentPage mCurrentPage: " + mCurrentPage);
|
||||
updateCurrentPageScroll();
|
||||
updateScrollingIndicator();
|
||||
notifyPageSwitchListener();
|
||||
|
||||
Reference in new issue
Block a user