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

Commit f398a51d authored by Julia Reynolds's avatar Julia Reynolds Committed by Automerger Merge Worker
Browse files

Add log message for shortcut error am: 5f71bce0 am: 23dac393 am: e3482be3

Change-Id: I7fd040a1ba445b6c2d54c161bebe679466a2afdd
parents b30dda53 e3482be3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5692,6 +5692,9 @@ public class NotificationManagerService extends SystemService {
        ShortcutInfo info = mShortcutHelper != null
                ? mShortcutHelper.getValidShortcutInfo(notification.getShortcutId(), pkg, user)
                : null;
        if (notification.getShortcutId() != null && info == null) {
            Slog.w(TAG, "notification " + r.getKey() + " added an invalid shortcut");
        }
        r.setShortcutInfo(info);

        if (!checkDisqualifyingFeatures(userId, notificationUid, id, tag, r,