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

Commit 158ed22f authored by Beverly Tai's avatar Beverly Tai Committed by android-build-merger
Browse files

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

am: 7b275f89

Change-Id: Id42db44220e8fb12492b63e8a824604ee0d101fe
parents f22af608 7b275f89
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;
        }