diff options
-rwxr-xr-x | services/java/com/android/server/NotificationManagerService.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/services/java/com/android/server/NotificationManagerService.java b/services/java/com/android/server/NotificationManagerService.java index b6e0afc..de67416 100755 --- a/services/java/com/android/server/NotificationManagerService.java +++ b/services/java/com/android/server/NotificationManagerService.java @@ -879,8 +879,7 @@ class NotificationManagerService extends INotificationManager.Stub String[] mPackage = findPackage(pkg); boolean flashLight = true; if(((notification.flags & Notification.FLAG_ONGOING_EVENT) != 0) - || ((notification.flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) - || pkg.matches("android") ) { + || ((notification.flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) ) { flashLight = false; } else if(mPackage != null) { if(mPackage[1].equals("none")) |