am 381337be: Merge "Fixing issue where icons sometimes do not show in AllApps." into honeycomb

* commit '381337be2249564b1d36717fc9bfdb7ec0b82bc3':
  Fixing issue where icons sometimes do not show in AllApps.
This commit is contained in:
Winson Chung
2011-01-14 17:20:30 -08:00
committed by Android Git Automerger
@@ -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);