OSDN Git Service

Fixed an issue where too many notifications were pulsing
authorSelim Cinek <cinek@google.com>
Wed, 12 Jun 2019 02:13:54 +0000 (19:13 -0700)
committerSelim Cinek <cinek@google.com>
Wed, 12 Jun 2019 02:19:05 +0000 (02:19 +0000)
With the bypass all notifications were pulsing. This was
accidental when factoring in changes.

Bug: 130327302
Test: atest SystemUITests
Change-Id: Iac5fb75763c7d093c40d7532e2d9ca1a799e983e

packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java

index 6b94a85..0ca8814 100644 (file)
@@ -715,7 +715,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
 
     @Override
     public boolean showingPulsing() {
-        return isHeadsUpState() && (isDozing()) || (mOnKeyguard && isBypassEnabled());
+        return isHeadsUpState() && (isDozing() || (mOnKeyguard && isBypassEnabled()));
     }
 
     /**