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:
1 parent
947dc54319
commit
e25af79564
9 files changed
+235
-12
No files matched your search
@@ -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