commit | 1689594851a6dd985cff69913e7f4bc548062808 | [log] [tgz] |
---|---|---|
author | Chris Wren <cwren@android.com> | Tue Jun 23 11:22:20 2015 -0400 |
committer | Chris Wren <cwren@android.com> | Wed Jun 24 13:21:47 2015 -0400 |
tree | 984bc3376c63b154c55a4189e4cd747d6a7bbba7 | |
parent | f1b25bd43464b2603da98ce5f03f41d9819d2374 [diff] [blame] |
don't clear notification effects in response to peeks When the heads up appears it generates a visibility event for the panel. This always clears the notification effects (buzz, beep, blink). If we suppress that for heads up notifications, we never get another chance. So we add a new call when we open the shade from the heads up to catch this case. Bug: 20947591 Change-Id: I233e5346617ca2fce7851bd85154c838849df8f7
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java index c30cb34..cf0d670 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -2340,4 +2340,8 @@ public void setPanelScrimMinFraction(float minFraction) { mBar.panelScrimMinFractionChanged(minFraction); } + + public void clearNotificattonEffects() { + mStatusBar.clearNotificationEffects(); + } }