From c19418e3f52bd6c88dae433750daf1ce15fafe23 Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Fri, 25 Oct 2013 14:25:09 -0400 Subject: Reset our status bar window fade color on screen off. Previously, turning the screen off with the panel expanded would run one time through panelExpansionChanged, leaving the background in an intermediate state. This has probably been around for a while, only uncovered now that we can see it (if the status bar is translucent). Bug:11357145 Change-Id: I55b768696c8791f82265a61d2c0f665503ad8bb0 --- .../src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java index d9ac7e4ef777..d0e9a999b13c 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java @@ -170,6 +170,9 @@ public class PhoneStatusBarView extends PanelBar { mBar.makeExpandedInvisibleSoon(); mFadingPanel = null; mLastFullyOpenedPanel = null; + if (mScrimColor != 0 && ActivityManager.isHighEndGfx()) { + mBar.mStatusBarWindow.setBackgroundColor(0); + } } @Override -- cgit v1.2.3-59-g8ed1b