From eede5d71bd7ba2d4b1c20ab1ea4e2670a938b6bd Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Mon, 22 May 2017 17:09:55 -0700 Subject: [PATCH] Fixed an issue where the panel could be stuck expanding Because we are aborting animations when the screen turns off we also have to finish the expansion in that case, otherwise it can be stuck in that state and the padding would never update anymore. Test: runtest systemui Change-Id: Ia8f901fad06ef8d972a24b696e94940f64cc1957 Fixes: 38308213 --- .../src/com/android/systemui/statusbar/phone/PanelView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java index e378e871394cc..69065874f0f85 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java @@ -225,6 +225,7 @@ public abstract class PanelView extends FrameLayout { if (mTracking) { onTrackingStopped(true /* expanded */); } + notifyExpandingFinished(); } }