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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user