diff options
author | Michael Jurka <mikejurka@google.com> | 2012-05-04 15:46:32 -0700 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2012-05-04 15:46:32 -0700 |
commit | 9d69b4463fce6f6a90514442a4fd1b6a49d579de (patch) | |
tree | 0f402d7bfad954b37e886d8010aeae0c93d8000b /packages | |
parent | c9c199a51a537cfc2aad43c06ecdeaceb8f8b698 (diff) | |
download | frameworks_base-9d69b4463fce6f6a90514442a4fd1b6a49d579de.zip frameworks_base-9d69b4463fce6f6a90514442a4fd1b6a49d579de.tar.gz frameworks_base-9d69b4463fce6f6a90514442a4fd1b6a49d579de.tar.bz2 |
Fix NPE for real
Bug: 6444814
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java index 492fe4b..e865b9c 100644 --- a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java @@ -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); |