Skip to content

Commit b9be8ef

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

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)