* commit '9a8a28aa72b9a4ebeaff3b30c497ce9bb5046083': Fix #6750492: NPE in tablet status bar
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user