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

Commit f6475c72 authored by John Spurlock's avatar John Spurlock Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in BaseStatusBar."

parents 00515148 70cf4c10
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1136,8 +1136,9 @@ public abstract class BaseStatusBar extends SystemUI implements
            StatusBarNotification notification, boolean isHeadsUp) {
        final RemoteViews contentView = notification.getNotification().contentView;
        final RemoteViews bigContentView = notification.getNotification().bigContentView;
        final RemoteViews publicContentView
                = notification.getNotification().publicVersion.contentView;
        final Notification publicVersion = notification.getNotification().publicVersion;
        final RemoteViews publicContentView = publicVersion != null ? publicVersion.contentView
                : null;

        // Reapply the RemoteViews
        contentView.reapply(mContext, entry.expanded, mOnClickHandler);