Merge "Fixing crashloop where LauncherActivityInfo can be null during icon query." into tm-dev

This commit is contained in:
Schneider Victor-tulias authored and Android (Google) Code Review committed 2022-03-09 18:13:18 +00:00
commit 59534c7a24
1 file changed
+1 -1
@@ -440,7 +440,7 @@ public class IconCache extends BaseIconCache {
cn,
sectionKey.first);
}
if (loadFallbackTitle && TextUtils.isEmpty(entry.title)) {
if (loadFallbackTitle && TextUtils.isEmpty(entry.title) && lai != null) {
loadFallbackTitle(
lai,
entry,