mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 08:56:55 +00:00
Sort apps in AllApps3D.setApps().
The sorting is no longer being done in LauncherModel. AA3D.addApps correctly performs an insertion sort, but setApps did not. Missing from change I77e3865b. Bug: 2562420 Change-Id: I6854c2c4a221b2c1ad123410292da1fbfece7871
This commit is contained in:
@@ -832,6 +832,10 @@ public class AllApps3D extends RSSurfaceView
|
||||
return;
|
||||
}
|
||||
|
||||
if (list != null) {
|
||||
Collections.sort(list, LauncherModel.APP_NAME_COMPARATOR);
|
||||
}
|
||||
|
||||
boolean reload = false;
|
||||
if (mAllAppsList == null) {
|
||||
reload = true;
|
||||
|
||||
Reference in New Issue
Block a user