mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Saving AllApps page when rotating screen, fixing customization rotate flash.
Change-Id: Idc4b919fa34413578fc07be263aadffb062f6115
This commit is contained in:
@@ -311,12 +311,18 @@ public class CustomizePagedView extends PagedViewWithDraggableItems
|
||||
|
||||
public void setCustomizationFilter(CustomizationType filterType) {
|
||||
mCustomizationType = filterType;
|
||||
setCurrentPage(0);
|
||||
updateCurrentPageScroll();
|
||||
invalidatePageData();
|
||||
if (getChildCount() > 0) {
|
||||
setCurrentPage(0);
|
||||
updateCurrentPageScroll();
|
||||
invalidatePageData();
|
||||
|
||||
// End the current choice mode so that we don't carry selections across tabs
|
||||
endChoiceMode();
|
||||
// End the current choice mode so that we don't carry selections across tabs
|
||||
endChoiceMode();
|
||||
}
|
||||
}
|
||||
|
||||
public CustomizationType getCustomizationFilter() {
|
||||
return mCustomizationType;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user