Tweaking page indicators to support add page icon, remembering widget picker page (Bug 10787439)

Change-Id: Iab0b5676aa9c34a610b4b968940abc81c913c234
This commit is contained in:
Winson Chung
2013-09-19 15:55:45 -07:00
parent bb701aaa83
commit 7819a56217
6 changed files with 58 additions and 22 deletions

View File

@@ -941,8 +941,12 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
}
public void setContentType(ContentType type) {
int page = getCurrentPage();
if (mContentType != type) {
page = 0;
}
mContentType = type;
invalidatePageData(0, true);
invalidatePageData(page, true);
}
public ContentType getContentType() {