OSDN Git Service

Fixed a bug where the notification scroller could crash.
authorSelim Cinek <cinek@google.com>
Thu, 1 May 2014 19:23:59 +0000 (21:23 +0200)
committerThe Android Automerger <android-build@android.com>
Thu, 1 May 2014 19:35:15 +0000 (12:35 -0700)
Due to a race condition the scroller could crash in certain cases
after an animation.

Bug: 14458203
Change-Id: Idc52109550270924bae5857e581574c63452f159

packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java

index 9a43e37..ea34506 100644 (file)
@@ -1077,7 +1077,7 @@ public class NotificationStackScrollLayout extends ViewGroup
     }
 
     public void onChildAnimationFinished() {
-        applyCurrentState();
+        updateChildren();
         mAnimationEvents.clear();
     }