commit | 15986c66cb04608f21f70ccd6e9d0bfc390f55c7 | [log] [tgz] |
---|---|---|
author | Daniel Sandler <dsandler@android.com> | Thu Jun 28 13:38:28 2012 -0400 |
committer | Daniel Sandler <dsandler@android.com> | Thu Jun 28 13:38:28 2012 -0400 |
tree | ae9f2d57ba77e61c9d7ec7f863cdf0584cfb4af8 | |
parent | 6c2ecbd5e3e7bcbd84be94704ec904f8c29ebd37 [diff] [blame] |
Fix #6750492: NPE in tablet status bar Pull down a bugfix from BaseStatusBar. Bug: 6750492 Change-Id: I9bd04e3a800d4dd2222844d2848208d611b60fe0
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 @@ @Override protected boolean isTopNotification(ViewGroup parent, NotificationData.Entry entry) { + if (parent == null || entry == null) return false; return parent.indexOfChild(entry.row) == parent.getChildCount()-1; }