commit | 8efa6dde2b4f2cdbf046b87b7366404c3cc46219 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Mon May 19 16:27:37 2014 +0200 |
committer | Selim Cinek <cinek@google.com> | Fri May 23 14:43:17 2014 +0200 |
tree | 413eaf999db21d68e51e99757ca20693336ba514 | |
parent | 2ecba24c48cf42b0c589d4390f7331314e57c320 [diff] [blame] |
Improved the animation logic of the stack scroller. Newly introduced appear and disappear animations when in the shade. Also introduced individual child delays such that notifications appear in a slightly more appealing quantum way. Also fixed a racecondition, such that added notifications already have their final visibility state when they are added to the scroller. Bug: 14081264 Change-Id: I18f5c57c2206f8e05996253981f540e97521e102
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java index fe7546d..142241c 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -214,7 +214,7 @@ mClockAnimationTarget = -1; } }); - StackStateAnimator.startInstantly(mClockAnimator); + mClockAnimator.start(); return true; } });