Skip to content

Commit ef9d55a

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

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
@@ -768,7 +768,9 @@ public void enqueueNotificationInternal(String pkg, int callingUid, int callingP
768768
long identity = Binder.clearCallingIdentity();
769769
try {
770770
r.statusBarKey = mStatusBar.addNotification(n);
771-
mAttentionLight.pulse();
771+
if ((n.notification.flags & Notification.FLAG_SHOW_LIGHTS) != 0) {
772+
mAttentionLight.pulse();
773+
}
772774
}
773775
finally {
774776
Binder.restoreCallingIdentity(identity);

0 commit comments

Comments
 (0)