summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2015-06-10 13:54:42 -0700
committerSelim Cinek <cinek@google.com>2015-06-10 13:54:42 -0700
commit32a59fd30266561e7312d47aac37d02ab5f5be02 (patch)
tree6d953d73e644ab279d69fd0f1f72e17abb4b641d /packages
parent476695227393b6c35c6777754b0e3b6448ceb7d2 (diff)
downloadframeworks_base-32a59fd30266561e7312d47aac37d02ab5f5be02.zip
frameworks_base-32a59fd30266561e7312d47aac37d02ab5f5be02.tar.gz
frameworks_base-32a59fd30266561e7312d47aac37d02ab5f5be02.tar.bz2
Fixed a bug where we might get stuck in a fully expanded statusbar
Bug: 21704050 Change-Id: Ib024a350b9d86f89480aaa9ea279cab81f51524b
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java5
1 files changed, 5 insertions, 0 deletions
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 d8f6bcd..c623305 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
@@ -2291,6 +2291,10 @@ public class NotificationStackScrollLayout extends ViewGroup
public void onChildAnimationFinished() {
requestChildrenUpdate();
+ runAnimationFinishedRunnables();
+ }
+
+ private void runAnimationFinishedRunnables() {
for (Runnable runnable : mAnimationFinishedRunnables) {
runnable.run();
}
@@ -2348,6 +2352,7 @@ public class NotificationStackScrollLayout extends ViewGroup
if (mListener != null) {
mListener.onChildLocationsChanged(this);
}
+ runAnimationFinishedRunnables();
}
public void setSpeedBumpView(SpeedBumpView speedBumpView) {