mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-06 02:46:57 +00:00
Adding logging to track issue with apps pages. (Bug 6549598)
Change-Id: Iaf8ad301325442346a2587f038b7a44578c16427
This commit is contained in:
@@ -1673,6 +1673,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
|
||||
}
|
||||
protected void invalidatePageData(int currentPage, boolean immediateAndOnly) {
|
||||
if (!mIsDataReady) {
|
||||
if (this instanceof AppsCustomizePagedView) Log.d(TAG, "6549598 invalidatePageData page: " + currentPage + " not data ready");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1704,6 +1705,8 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
|
||||
// Load any pages that are necessary for the current window of views
|
||||
loadAssociatedPages(mCurrentPage, immediateAndOnly);
|
||||
requestLayout();
|
||||
|
||||
if (this instanceof AppsCustomizePagedView) Log.d(TAG, "6549598 invalidatePageData page: " + currentPage);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user