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

Commit 9d69b446 authored by Michael Jurka's avatar Michael Jurka
Browse files

Fix NPE for real

Bug: 6444814
parent c9c199a5
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);