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

Commit de2e5ce1 authored by Beverly Tai's avatar Beverly Tai Committed by Android (Google) Code Review
Browse files

Merge "Don't show dev warning toast if notifs for app off" into pi-dev

parents d7b5c6ff 5d4564b7
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -3997,9 +3997,14 @@ public class NotificationManagerService extends SystemService {
                    + ", notificationUid=" + notificationUid
                    + ", notification=" + notification;
            Log.e(TAG, noChannelStr);
            boolean appNotificationsOff = mRankingHelper.getImportance(pkg, notificationUid)
                    == NotificationManager.IMPORTANCE_NONE;

            if (!appNotificationsOff) {
                doChannelWarningToast("Developer warning for package \"" + pkg + "\"\n" +
                        "Failed to post notification on channel \"" + channelId + "\"\n" +
                        "See log for more details");
            }
            return;
        }