diff --git a/services/core/java/com/android/server/notification/NotificationManagerService.java b/services/core/java/com/android/server/notification/NotificationManagerService.java index b3d6fd4a34a7a..e411579dbf84b 100644 --- a/services/core/java/com/android/server/notification/NotificationManagerService.java +++ b/services/core/java/com/android/server/notification/NotificationManagerService.java @@ -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(),