From 4798ea13d8bcbdc26a2b1cdd2390c8a17ef14217 Mon Sep 17 00:00:00 2001 From: Lucas Dupin Date: Mon, 5 Nov 2018 19:26:24 -0800 Subject: [PATCH] Do not clip the pulsing notification panel Test: visual Change-Id: I0cf4096a41c070f65d90d1ab0b515013d5d6cba7 Fixes: 118798921 --- .../notification/stack/NotificationStackScrollLayout.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 003f158d78220..c47d40808d876 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);