diff options
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java | 1 |
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; } |