From c0f4c0132148c2a9cca20077a7d73fdb2e9b5541 Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Mon, 25 Aug 2014 15:45:33 +0200 Subject: [PATCH] Fixed a bug where the clipRect was not correctly reset We now reset the cliprect of the notifications when the view is removed from the scroller. Bug: 17187780 Change-Id: Ifa5af0683186380f54dcb169a21d2ab41ceb98a7 --- .../statusbar/stack/NotificationStackScrollLayout.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java index ce1779531ebce..68a02cff4f63a 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java @@ -1459,6 +1459,9 @@ public class NotificationStackScrollLayout extends ViewGroup // drawn when removed getOverlay().add(child); } + + // Make sure the clipRect we might have set is removed + child.setClipBounds(null); } /**