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

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

Merge "Fix NPE for real" into jb-dev

parents ebbd247d 9d69b446
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -714,7 +714,9 @@ public class RecentsPanelView extends FrameLayout implements OnItemClickListener
    public void handleSwipe(View view) {
        TaskDescription ad = ((ViewHolder) view.getTag()).taskDescription;
        if (ad == null) {
            Log.v(TAG, "Not able to find activity description for swiped task");
            Log.v(TAG, "Not able to find activity description for swiped task; view=" + view +
                    " tag=" + view.getTag());
            return;
        }
        if (DEBUG) Log.v(TAG, "Jettison " + ad.getLabel());
        mRecentTaskDescriptions.remove(ad);