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