summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2012-06-28 13:38:28 -0400
committerDaniel Sandler <dsandler@android.com>2012-06-28 13:38:28 -0400
commit15986c66cb04608f21f70ccd6e9d0bfc390f55c7 (patch)
treeae9f2d57ba77e61c9d7ec7f863cdf0584cfb4af8 /packages
parent6c2ecbd5e3e7bcbd84be94704ec904f8c29ebd37 (diff)
downloadframeworks_base-15986c66cb04608f21f70ccd6e9d0bfc390f55c7.zip
frameworks_base-15986c66cb04608f21f70ccd6e9d0bfc390f55c7.tar.gz
frameworks_base-15986c66cb04608f21f70ccd6e9d0bfc390f55c7.tar.bz2
Fix #6750492: NPE in tablet status bar
Pull down a bugfix from BaseStatusBar. Bug: 6750492 Change-Id: I9bd04e3a800d4dd2222844d2848208d611b60fe0
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
index 5cab636..f947369 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
@@ -1658,6 +1658,7 @@ public class TabletStatusBar extends BaseStatusBar implements
@Override
protected boolean isTopNotification(ViewGroup parent, NotificationData.Entry entry) {
+ if (parent == null || entry == null) return false;
return parent.indexOfChild(entry.row) == parent.getChildCount()-1;
}