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

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

Add log message for shortcut error

Test: manual
Fixes: 154266027
Change-Id: I99e3b2e25eaf21bac6a87049878b2a00b2e5e998
parent 78b06a41
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,