Fixing issue where icons sometimes do not show in AllApps.

Change-Id: I7f999ae96f73ba2300dbebef74a04ecdbb60ff43
This commit is contained in:
Winson Chung committed 2011-01-14 16:40:08 -08:00
1 parent 098f9d0cf0
commit 452821f54d
1 file changed
+2
@@ -332,6 +332,8 @@ public class AllAppsPagedView extends PagedViewWithDraggableItems implements All
final int index = Collections.binarySearch(mApps, info, LauncherModel.APP_NAME_COMPARATOR);
if (index < 0) {
mApps.add(-(index + 1), info);
} else {
mApps.add(index, info);
}
}
mFilteredApps = rebuildFilteredApps(mApps);