summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Lucas Dupin <dupin@google.com> 2018-11-05 19:26:24 -0800
committer Lucas Dupin <dupin@google.com> 2018-11-05 19:26:24 -0800
commit4798ea13d8bcbdc26a2b1cdd2390c8a17ef14217 (patch)
treeece88e5e0531fb28db4374fc2db6ed3d03dc689c
parentbcb36e254a3590291296548d0c2a24715d9b6e36 (diff)
Do not clip the pulsing notification panel
Test: visual Change-Id: I0cf4096a41c070f65d90d1ab0b515013d5d6cba7 Fixes: 118798921
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java
index 003f158d7822..c47d40808d87 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java
@@ -1107,7 +1107,9 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd
mIsClipped = clipped;
}
- if (mAmbientState.isDarkAtAll()) {
+ if (mPulsing) {
+ setClipBounds(null);
+ } else if (mAmbientState.isDarkAtAll()) {
setClipBounds(mBackgroundAnimationRect);
} else if (clipped) {
setClipBounds(mRequestedClipBounds);