Enable bulk icon loading on master

Bug: 195674813
Test: none
Change-Id: I01fb4b77e652b2fd71e8a7a0edf5ddbe024f9d48
This commit is contained in:
Schneider Victor-tulias committed 2022-01-25 13:03:37 -08:00
1 parent 1b077203d6
commit 1702a0ea90
6 files changed
+17 -7

No files matched your search

@@ -43,7 +43,9 @@ public class AppInfoComparator implements Comparator<AppInfo> {
@Override
public int compare(AppInfo a, AppInfo b) {
// Order by the title in the current locale
int result = mLabelComparator.compare(a.title.toString(), b.title.toString());
int result = mLabelComparator.compare(
a.title == null ? "" : a.title.toString(),
b.title == null ? "" : b.title.toString());
if (result != 0) {
return result;
}