Skip to content

Commit c9c2319

Browse files
mikejurkaAndroid (Google) Code Review
authored andcommitted
Merge "Fix NPE for real" into jb-dev
2 parents ebbd247 + 9d69b44 commit c9c2319

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,9 @@ public void onItemClick(AdapterView<?> parent, View view, int position, long id)
714714
public void handleSwipe(View view) {
715715
TaskDescription ad = ((ViewHolder) view.getTag()).taskDescription;
716716
if (ad == null) {
717-
Log.v(TAG, "Not able to find activity description for swiped task");
717+
Log.v(TAG, "Not able to find activity description for swiped task; view=" + view +
718+
" tag=" + view.getTag());
719+
return;
718720
}
719721
if (DEBUG) Log.v(TAG, "Jettison " + ad.getLabel());
720722
mRecentTaskDescriptions.remove(ad);

0 commit comments

Comments
 (0)