Fix bug where All Apps wasn't always getting updated

Bug # 4731290
This commit is contained in:
Michael Jurka committed 2011-07-11 19:59:46 -07:00
1 parent 53b7a64e71
commit 5b1808da75
1 file changed
+5 -1
+5 -1
View File
@@ -1747,7 +1747,11 @@ public class LauncherModel extends BroadcastReceiver {
public static final Comparator<ApplicationInfo> APP_NAME_COMPARATOR
= new Comparator<ApplicationInfo>() {
public final int compare(ApplicationInfo a, ApplicationInfo b) {
return sCollator.compare(a.title.toString(), b.title.toString());
int result = sCollator.compare(a.title.toString(), b.title.toString());
if (result == 0) {
result = a.componentName.compareTo(b.componentName);
}
return result;
}
};
public static final Comparator<ApplicationInfo> APP_INSTALL_TIME_COMPARATOR