OSDN Git Service

Fix jank when clicking on HUN
authorJorim Jaggi <jjaggi@google.com>
Thu, 20 Aug 2015 02:50:49 +0000 (19:50 -0700)
committerJorim Jaggi <jjaggi@google.com>
Fri, 21 Aug 2015 19:43:40 +0000 (12:43 -0700)
commit5eb67c22489f5fda22770d1fc824e7a8013ec025
tree774682cc73aa4b15e4446888a456f865b054a5b1
parentab45a217b0002dcf586d529ab8581cacbbfc37e9
Fix jank when clicking on HUN

There is jank at the beginning of the transition when the heads-up
disappears when clicking, because a lot of stuff is going on. In
order to make it consistent with other notification clicks in the
shade, introduce a delay for the disappear animation.

Bug: 23365512
Change-Id: Ib7c5db552d6803f96374198c2af38cf8236769cd
packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/AnimationFilter.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/StackStateAnimator.java