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

Commit 5bba3e7c authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Add content intent to autogroup summary.

Change-Id: I01afb5e9aa7d74844d6640fdc70b39b59ef2093a
Fixes: 28194709
parent b1ebc3b7
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2239,6 +2239,13 @@ public class NotificationManagerService extends SystemService {
                                        .setFlag(Notification.FLAG_GROUP_SUMMARY, true)
                                        .build();
                        summaryNotification.extras.putAll(extras);
                        Intent appIntent = getContext().getPackageManager()
                                .getLaunchIntentForPackage(adjustment.getPackage());
                        if (appIntent != null) {
                            summaryNotification.contentIntent = PendingIntent.getActivityAsUser(
                                    getContext(), 0, appIntent, 0, null,
                                    UserHandle.of(adjustedSbn.getUserId()));
                        }
                        final StatusBarNotification summarySbn =
                                new StatusBarNotification(adjustedSbn.getPackageName(),
                                        adjustedSbn.getOpPkg(),