summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Boag-Munroe <boagenator@gmail.com>2010-08-28 14:33:01 +0100
committerEddie Ringle <eddie.ringle@gmail.com>2010-08-29 14:23:01 -0400
commit60323cfddd51c0f759038f811541e07d85cec634 (patch)
tree92584213f758586ebe90c024f1fa15161b4cc833
parent57e7bb29dcf918b965b5676c9b80426d1f9a7139 (diff)
downloadframeworks_base-60323cfddd51c0f759038f811541e07d85cec634.zip
frameworks_base-60323cfddd51c0f759038f811541e07d85cec634.tar.gz
frameworks_base-60323cfddd51c0f759038f811541e07d85cec634.tar.bz2
Breaks other Android clearable notifications. Correct fix is commit id 21e55b4df85ccadd9809ef188e1de51942f20eb1
Revert "Fixed ADB Pulsing when it shouldn't." This reverts commit 7b41e023a733610c0e34744a3dc6f3682b5318e2.
-rwxr-xr-xservices/java/com/android/server/NotificationManagerService.java3
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"))