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:
Daniel Sandler
2010-04-15 16:41:31 -04:00
parent 7645c94ded
commit 707b0f7c3c

View File

@@ -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;