Fix NPE in BaseStatusBar.
Bug:12996414 Change-Id: Icded809ce14ca6fc5d11bee1c2470152d507cee2
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user