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)
committerSelim Cinek <cinek@google.com>
Thu, 1 May 2014 19:28:19 +0000 (19:28 +0000)
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 a364b41..0e75acd 100644 (file)
@@ -1120,7 +1120,7 @@ public class NotificationStackScrollLayout extends ViewGroup
     }
 
     public void onChildAnimationFinished() {
-        applyCurrentState();
+        updateChildren();
         mAnimationEvents.clear();
     }