We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d6e3ad5 + 2a430cc commit 39c6526Copy full SHA for 39c6526
packages/SystemUI/src/com/android/systemui/recent/RecentTasksLoader.java
@@ -386,7 +386,9 @@ public TaskDescription loadFirstTask() {
386
item = createTaskDescription(recentInfo.id,
387
recentInfo.persistentId, recentInfo.baseIntent,
388
recentInfo.origActivity, recentInfo.description);
389
- loadThumbnailAndIcon(item);
+ if (item != null) {
390
+ loadThumbnailAndIcon(item);
391
+ }
392
return item;
393
}
394
return null;
0 commit comments