Loading core/java/android/service/notification/NotificationAssistantService.java +9 −0 Original line number Diff line number Diff line Loading @@ -293,6 +293,11 @@ public abstract class NotificationAssistantService extends NotificationListenerS Log.w(TAG, "onNotificationEnqueued: Error receiving StatusBarNotification", e); return; } if (sbn == null) { Log.w(TAG, "onNotificationEnqueuedWithChannel: " + "Error receiving StatusBarNotification"); return; } SomeArgs args = SomeArgs.obtain(); args.arg1 = sbn; Loading @@ -311,6 +316,10 @@ public abstract class NotificationAssistantService extends NotificationListenerS Log.w(TAG, "onNotificationSnoozed: Error receiving StatusBarNotification", e); return; } if (sbn == null) { Log.w(TAG, "onNotificationSnoozed: Error receiving StatusBarNotification"); return; } SomeArgs args = SomeArgs.obtain(); args.arg1 = sbn; Loading core/java/android/service/notification/NotificationListenerService.java +8 −0 Original line number Diff line number Diff line Loading @@ -1272,6 +1272,10 @@ public abstract class NotificationListenerService extends Service { Log.w(TAG, "onNotificationPosted: Error receiving StatusBarNotification", e); return; } if (sbn == null) { Log.w(TAG, "onNotificationPosted: Error receiving StatusBarNotification"); return; } try { // convert icon metadata to legacy format for older clients Loading Loading @@ -1313,6 +1317,10 @@ public abstract class NotificationListenerService extends Service { Log.w(TAG, "onNotificationRemoved: Error receiving StatusBarNotification", e); return; } if (sbn == null) { Log.w(TAG, "onNotificationRemoved: Error receiving StatusBarNotification"); return; } // protect subclass from concurrent modifications of (@link mNotificationKeys}. synchronized (mLock) { applyUpdateLocked(update); Loading Loading
core/java/android/service/notification/NotificationAssistantService.java +9 −0 Original line number Diff line number Diff line Loading @@ -293,6 +293,11 @@ public abstract class NotificationAssistantService extends NotificationListenerS Log.w(TAG, "onNotificationEnqueued: Error receiving StatusBarNotification", e); return; } if (sbn == null) { Log.w(TAG, "onNotificationEnqueuedWithChannel: " + "Error receiving StatusBarNotification"); return; } SomeArgs args = SomeArgs.obtain(); args.arg1 = sbn; Loading @@ -311,6 +316,10 @@ public abstract class NotificationAssistantService extends NotificationListenerS Log.w(TAG, "onNotificationSnoozed: Error receiving StatusBarNotification", e); return; } if (sbn == null) { Log.w(TAG, "onNotificationSnoozed: Error receiving StatusBarNotification"); return; } SomeArgs args = SomeArgs.obtain(); args.arg1 = sbn; Loading
core/java/android/service/notification/NotificationListenerService.java +8 −0 Original line number Diff line number Diff line Loading @@ -1272,6 +1272,10 @@ public abstract class NotificationListenerService extends Service { Log.w(TAG, "onNotificationPosted: Error receiving StatusBarNotification", e); return; } if (sbn == null) { Log.w(TAG, "onNotificationPosted: Error receiving StatusBarNotification"); return; } try { // convert icon metadata to legacy format for older clients Loading Loading @@ -1313,6 +1317,10 @@ public abstract class NotificationListenerService extends Service { Log.w(TAG, "onNotificationRemoved: Error receiving StatusBarNotification", e); return; } if (sbn == null) { Log.w(TAG, "onNotificationRemoved: Error receiving StatusBarNotification"); return; } // protect subclass from concurrent modifications of (@link mNotificationKeys}. synchronized (mLock) { applyUpdateLocked(update); Loading