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

Commit 51f755ab authored by Daniel Sandler's avatar Daniel Sandler Committed by Android Git Automerger
Browse files

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

* commit '9a8a28aa':
  Fix #6750492: NPE in tablet status bar
parents 19910f1f 9a8a28aa
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;
    }