diff --git a/services/java/com/android/server/NotificationManagerService.java b/services/java/com/android/server/NotificationManagerService.java index 8d6c60446a8a2..a3921c01d0575 100755 --- a/services/java/com/android/server/NotificationManagerService.java +++ b/services/java/com/android/server/NotificationManagerService.java @@ -1033,7 +1033,8 @@ public class NotificationManagerService extends INotificationManager.Stub if (((mDisabledNotifications & StatusBarManager.DISABLE_NOTIFICATION_ALERTS) == 0) && (!(old != null && (notification.flags & Notification.FLAG_ONLY_ALERT_ONCE) != 0 )) - && (r.userId == UserHandle.USER_ALL || r.userId == userId) + && (r.userId == UserHandle.USER_ALL || + (r.userId == userId && r.userId == ActivityManager.getCurrentUser())) && mSystemReady) { final AudioManager audioManager = (AudioManager) mContext