mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
HACK: temporary upgrade path from com.android.launcher2
-> load old provider -> permute pages -> strip all duplicates from workspace -> add [allapps minus workspaceapps] to apps folder Change-Id: Id319d532c6bf1d78370ecc736e95a9475d831de8
This commit is contained in:
@@ -1565,13 +1565,13 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void addApps(ArrayList<ApplicationInfo> list) {
|
||||
if (!DISABLE_ALL_APPS) {
|
||||
addAppsWithoutInvalidate(list);
|
||||
updatePageCountsAndInvalidateData();
|
||||
} else {
|
||||
// TODO: Maybe put them somewhere else?
|
||||
mLauncher.getHotseat().addAppsToAllAppsFolder(list);
|
||||
}
|
||||
}
|
||||
private int findAppByComponent(List<ApplicationInfo> list, ApplicationInfo item) {
|
||||
|
||||
Reference in New Issue
Block a user