summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2015-06-10 23:31:57 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-06-10 23:31:58 +0000
commit548a42653cfa981d00941e9942390a3a00ff095b (patch)
tree756502b8694940978ecfd33d8120b76b8fbf8607
parent059271ec2945e146b88dfb1e5c4a1e564d757ddf (diff)
parent32a59fd30266561e7312d47aac37d02ab5f5be02 (diff)
downloadframeworks_base-548a42653cfa981d00941e9942390a3a00ff095b.zip
frameworks_base-548a42653cfa981d00941e9942390a3a00ff095b.tar.gz
frameworks_base-548a42653cfa981d00941e9942390a3a00ff095b.tar.bz2
Merge "Fixed a bug where we might get stuck in a fully expanded statusbar" into mnc-dev
-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 f11a878..1bf4547 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
@@ -2292,6 +2292,10 @@ public class NotificationStackScrollLayout extends ViewGroup
public void onChildAnimationFinished() {
requestChildrenUpdate();
+ runAnimationFinishedRunnables();
+ }
+
+ private void runAnimationFinishedRunnables() {
for (Runnable runnable : mAnimationFinishedRunnables) {
runnable.run();
}
@@ -2349,6 +2353,7 @@ public class NotificationStackScrollLayout extends ViewGroup
if (mListener != null) {
mListener.onChildLocationsChanged(this);
}
+ runAnimationFinishedRunnables();
}
public void setSpeedBumpView(SpeedBumpView speedBumpView) {