Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a8a28aa authored by Daniel Sandler's avatar Daniel Sandler Committed by Android (Google) Code Review
Browse files

Merge "Fix #6750492: NPE in tablet status bar" into jb-dev

parents e680c722 15986c66
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
    }