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

Commit 623ec77f authored by Andreas Miko's avatar Andreas Miko
Browse files

Fix NPE for BundleEntryAdapter when creating MenuViews

Test: manual test bundle
Flag: com.android.systemui.notification_bundle_ui
Bug: b/389839492
Change-Id: I293f27e0bfff1c78ee4cb0c75ad00d13aa8883dc
parent c99ead25
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -282,7 +282,7 @@ public class NotificationMenuRow implements NotificationMenuRowPlugin, View.OnCl
        } else if (android.app.Flags.uiRichOngoing()
                && android.app.Flags.apiRichOngoing()
                && Flags.permissionHelperUiRichOngoing()
                && sbn.getNotification().isPromotedOngoing()) {
                && (sbn != null && sbn.getNotification().isPromotedOngoing())) {
            mInfoItem = createPromotedItem(mContext);
        }  else if (android.app.Flags.notificationClassificationUi() && isBundled) {
            mInfoItem = createBundledInfoItem(mContext);