Skip to content

Commit 15986c6

Browse files
committed
Fix #6750492: NPE in tablet status bar
Pull down a bugfix from BaseStatusBar. Bug: 6750492 Change-Id: I9bd04e3a800d4dd2222844d2848208d611b60fe0
1 parent 6c2ecbd commit 15986c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1658,6 +1658,7 @@ public void dump(FileDescriptor fd, PrintWriter pw, String[] args) {
16581658

16591659
@Override
16601660
protected boolean isTopNotification(ViewGroup parent, NotificationData.Entry entry) {
1661+
if (parent == null || entry == null) return false;
16611662
return parent.indexOfChild(entry.row) == parent.getChildCount()-1;
16621663
}
16631664

0 commit comments

Comments
 (0)