Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39c65262 authored by Michael Jurka's avatar Michael Jurka Committed by Android (Google) Code Review
Browse files

Merge "Add NPE check to fix crash in Recents" into jb-mr1-dev

parents d6e3ad54 2a430ccc
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -386,7 +386,9 @@ public class RecentTasksLoader implements View.OnTouchListener {
            item = createTaskDescription(recentInfo.id,
            item = createTaskDescription(recentInfo.id,
                    recentInfo.persistentId, recentInfo.baseIntent,
                    recentInfo.persistentId, recentInfo.baseIntent,
                    recentInfo.origActivity, recentInfo.description);
                    recentInfo.origActivity, recentInfo.description);
            if (item != null) {
                loadThumbnailAndIcon(item);
                loadThumbnailAndIcon(item);
            }
            return item;
            return item;
        }
        }
        return null;
        return null;