Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ece18efb authored by Mike Lockwood's avatar Mike Lockwood
Browse files

Don't pulse LED on new notification unless notification has LED flag set



Bug: 6006131

Change-Id: I719c7d68e310bfaca227f6286159b3993784926b
Signed-off-by: default avatarMike Lockwood <lockwood@google.com>
parent 08eb7dd6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -767,8 +767,10 @@ public class NotificationManagerService extends INotificationManager.Stub
                    long identity = Binder.clearCallingIdentity();
                    try {
                        r.statusBarKey = mStatusBar.addNotification(n);
                        if ((n.notification.flags & Notification.FLAG_SHOW_LIGHTS) != 0) {
                            mAttentionLight.pulse();
                        }
                    }
                    finally {
                        Binder.restoreCallingIdentity(identity);
                    }