mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
Cancelling the current drag when customization filter type changes to prevent crashes.
Change-Id: Iaa3f2598325950769d38ad1d6e390ab06ea194d7
This commit is contained in:
@@ -312,6 +312,7 @@ public class CustomizePagedView extends PagedViewWithDraggableItems
|
||||
|
||||
public void setCustomizationFilter(CustomizationType filterType) {
|
||||
mCustomizationType = filterType;
|
||||
cancelDragging();
|
||||
if (getChildCount() > 0) {
|
||||
setCurrentPage(0);
|
||||
updateCurrentPageScroll();
|
||||
|
||||
Reference in New Issue
Block a user