From b77e315292fb50b679df44fee5d010bbb267377a Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Thu, 1 May 2014 21:23:59 +0200 Subject: Fixed a bug where the notification scroller could crash. Due to a race condition the scroller could crash in certain cases after an animation. Bug: 14458203 Change-Id: Idc52109550270924bae5857e581574c63452f159 --- .../android/systemui/statusbar/stack/NotificationStackScrollLayout.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a364b4165545..0e75acd5edfd 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java @@ -1120,7 +1120,7 @@ public class NotificationStackScrollLayout extends ViewGroup } public void onChildAnimationFinished() { - applyCurrentState(); + updateChildren(); mAnimationEvents.clear(); } -- cgit v1.2.3-59-g8ed1b