am 2909bd19: am 381337be: Merge "Fixing issue where icons sometimes do not show in AllApps." into honeycomb
* commit '2909bd19865898c7e1c1e57e3f9ac9a3353fd43a':
Fixing issue where icons sometimes do not show in AllApps.
diff --git a/src/com/android/launcher2/AllAppsPagedView.java b/src/com/android/launcher2/AllAppsPagedView.java
index 4568562..c9c069f 100644
--- a/src/com/android/launcher2/AllAppsPagedView.java
+++ b/src/com/android/launcher2/AllAppsPagedView.java
@@ -332,6 +332,8 @@
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);