From 21e8f419a8b92b700237404b4c69d2aa601dcba6 Mon Sep 17 00:00:00 2001 From: Jorim Jaggi Date: Wed, 27 Aug 2014 15:04:33 +0200 Subject: [PATCH] Fix missing status bar icons Bug: 16481924 Change-Id: I7df734519d112e2b0240f87940f9350bef5ea9df --- .../android/systemui/statusbar/phone/PhoneStatusBar.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index 620d3ecf62bd8..41594475d59d6 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -2015,7 +2015,12 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, .alpha(1f) .setDuration(320) .setInterpolator(ALPHA_IN) - .setStartDelay(50); + .setStartDelay(50) + + // We need to clean up any pending end action from animateStatusBarHide if we call + // both hide and show in the same frame before the animation actually gets started. + // cancel() doesn't really remove the end action. + .withEndAction(null); // Synchronize the motion with the Keyguard fading if necessary. if (mKeyguardFadingAway) {