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

Commit 15986c66 authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Fix #6750492: NPE in tablet status bar

Pull down a bugfix from BaseStatusBar.

Bug: 6750492
Change-Id: I9bd04e3a800d4dd2222844d2848208d611b60fe0
parent 6c2ecbd5
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;
    }