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.
1 parent cc0106c commit 2a430ccCopy full SHA for 2a430cc
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