Skip to content

Commit 9a8a28a

Browse files
dsandlerAndroid (Google) Code Review
authored andcommitted
Merge "Fix #6750492: NPE in tablet status bar" into jb-dev
2 parents e680c72 + 15986c6 commit 9a8a28a

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)