Fix bug where All Apps wasn't always getting updated
Bug # 4731290
This commit is contained in:
1 parent
53b7a64e71
commit
5b1808da75
1 file changed
+5
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user