Skip to content

Commit 8f7cc7a

Browse files
Mike LockwoodAndroid Git Automerger
authored andcommitted
am b9be8ef: am ffc8989: Merge "Don\'t pulse LED on new notification unless notification has LED flag set" into ics-mr1
* commit 'b9be8eff222d9b70079dd53d0d61de229d8d7914': Don't pulse LED on new notification unless notification has LED flag set
2 parents 0b17fc3 + b9be8ef commit 8f7cc7a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

services/java/com/android/server/NotificationManagerService.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,9 @@ public void enqueueNotificationInternal(String pkg, int callingUid, int callingP
767767
long identity = Binder.clearCallingIdentity();
768768
try {
769769
r.statusBarKey = mStatusBar.addNotification(n);
770-
mAttentionLight.pulse();
770+
if ((n.notification.flags & Notification.FLAG_SHOW_LIGHTS) != 0) {
771+
mAttentionLight.pulse();
772+
}
771773
}
772774
finally {
773775
Binder.restoreCallingIdentity(identity);

0 commit comments

Comments
 (0)