From c8df064db30045e384559ad0ab0ea32826dd0e59 Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Thu, 23 Feb 2017 17:01:04 -0800 Subject: [PATCH] Fixed another memory leak Clicked heads-up notifications were never released Test: runtest systemui Change-Id: I9a1097fd5d26caca25c784905b60ea4b40468b2f --- .../systemui/statusbar/stack/NotificationStackScrollLayout.java | 1 + 1 file changed, 1 insertion(+) 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 48dbe499799b4..d3b336bef6291 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java @@ -3416,6 +3416,7 @@ public class NotificationStackScrollLayout extends ViewGroup for (View view : mClearOverlayViewsWhenFinished) { StackStateAnimator.removeFromOverlay(view); } + mClearOverlayViewsWhenFinished.clear(); } private void runAnimationFinishedRunnables() {