summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/recent
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2012-05-04 15:46:32 -0700
committerMichael Jurka <mikejurka@google.com>2012-05-04 15:46:32 -0700
commit9d69b4463fce6f6a90514442a4fd1b6a49d579de (patch)
tree0f402d7bfad954b37e886d8010aeae0c93d8000b /packages/SystemUI/src/com/android/systemui/recent
parentc9c199a51a537cfc2aad43c06ecdeaceb8f8b698 (diff)
downloadframeworks_base-9d69b4463fce6f6a90514442a4fd1b6a49d579de.zip
frameworks_base-9d69b4463fce6f6a90514442a4fd1b6a49d579de.tar.gz
frameworks_base-9d69b4463fce6f6a90514442a4fd1b6a49d579de.tar.bz2
Fix NPE for real
Bug: 6444814
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/recent')
-rw-r--r--packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java4
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);