mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
Tweaking page indicators to support add page icon, remembering widget picker page (Bug 10787439)
Change-Id: Iab0b5676aa9c34a610b4b968940abc81c913c234
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user