am 8f7cc7af: am b9be8eff: am ffc89899: 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
This commit is contained in:
@@ -768,7 +768,9 @@ public class NotificationManagerService extends INotificationManager.Stub
|
||||
long identity = Binder.clearCallingIdentity();
|
||||
try {
|
||||
r.statusBarKey = mStatusBar.addNotification(n);
|
||||
mAttentionLight.pulse();
|
||||
if ((n.notification.flags & Notification.FLAG_SHOW_LIGHTS) != 0) {
|
||||
mAttentionLight.pulse();
|
||||
}
|
||||
}
|
||||
finally {
|
||||
Binder.restoreCallingIdentity(identity);
|
||||
|
||||
Reference in New Issue
Block a user