Loading services/core/java/com/android/server/notification/NotificationManagerService.java +13 −2 Original line number Original line Diff line number Diff line Loading @@ -3116,8 +3116,19 @@ public class NotificationManagerService extends SystemService { + " - notification=" + notification); + " - notification=" + notification); return; return; } } throw new IllegalArgumentException("No Channel found for channelId=" + channelId final String noChannelStr = "No Channel found for " + ", notification=" + notification); + "pkg=" + pkg + ", channelId=" + channelId + ", opPkg=" + opPkg + ", callingUid=" + callingUid + ", userId=" + userId + ", incomingUserId=" + incomingUserId + ", notificationUid=" + notificationUid + ", notification=" + notification; // STOPSHIP TODO: should throw instead of logging. // throw new IllegalArgumentException(noChannelStr); Log.e(TAG, noChannelStr); return; } } final StatusBarNotification n = new StatusBarNotification( final StatusBarNotification n = new StatusBarNotification( pkg, opPkg, id, tag, notificationUid, callingPid, notification, pkg, opPkg, id, tag, notificationUid, callingPid, notification, Loading Loading
services/core/java/com/android/server/notification/NotificationManagerService.java +13 −2 Original line number Original line Diff line number Diff line Loading @@ -3116,8 +3116,19 @@ public class NotificationManagerService extends SystemService { + " - notification=" + notification); + " - notification=" + notification); return; return; } } throw new IllegalArgumentException("No Channel found for channelId=" + channelId final String noChannelStr = "No Channel found for " + ", notification=" + notification); + "pkg=" + pkg + ", channelId=" + channelId + ", opPkg=" + opPkg + ", callingUid=" + callingUid + ", userId=" + userId + ", incomingUserId=" + incomingUserId + ", notificationUid=" + notificationUid + ", notification=" + notification; // STOPSHIP TODO: should throw instead of logging. // throw new IllegalArgumentException(noChannelStr); Log.e(TAG, noChannelStr); return; } } final StatusBarNotification n = new StatusBarNotification( final StatusBarNotification n = new StatusBarNotification( pkg, opPkg, id, tag, notificationUid, callingPid, notification, pkg, opPkg, id, tag, notificationUid, callingPid, notification, Loading