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

Commit 569dd9c0 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

Merge "Merge "Log when an app targeting O does not specify a channel" into...

Merge "Merge "Log when an app targeting O does not specify a channel" into oc-dev am: af12b176 am: e5dbc384"
parents 46fcffdd 86abbf31
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3203,6 +3203,8 @@ public class NotificationManagerService extends SystemService {
            return;
        } else if (channelId == null && shouldWarnUseChannels(pkg, notificationUid)) {
            // STOPSHIP TODO: remove once default channel is removed for all apps that target O.
            Log.e(TAG, "Developer Warning for package " + pkg
                    + ", no channel specified for posted notification: " + notification);
            doDebugOnlyToast("Developer warning for package \"" + pkg + "\"\n" +
                    "Posted notification should specify a channel");
        }