diff options
author | Adrian Roos <roosa@google.com> | 2015-02-04 14:35:23 +0100 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2015-02-04 15:16:04 +0000 |
commit | 761c156756230d1a8d23841a0b9cee1038696453 (patch) | |
tree | 570e30441c42493e2e4a1c2fb737c8628c09562e /packages/SystemUI | |
parent | bf40f24bc24350a4bff49fba89cf12715d15e07c (diff) | |
download | frameworks_base-761c156756230d1a8d23841a0b9cee1038696453.zip frameworks_base-761c156756230d1a8d23841a0b9cee1038696453.tar.gz frameworks_base-761c156756230d1a8d23841a0b9cee1038696453.tar.bz2 |
Follow-up to I8a89a10cf2746cefa2feba50dc60c5eccd2ab28d
Bug: 19233606
Change-Id: I394a015371acd124f84f1f6f82bc565fefc669d1
Diffstat (limited to 'packages/SystemUI')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java | 5 |
1 files changed, 3 insertions, 2 deletions
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 f3ad46e..4b1c888 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -2230,8 +2230,9 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, } if ((diff & View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR) != 0 || sbModeChanged) { - boolean allowLight = (sbMode == MODE_TRANSPARENT - || sbMode == MODE_LIGHTS_OUT_TRANSPARENT); + boolean isTransparentBar = (mStatusBarMode == MODE_TRANSPARENT + || mStatusBarMode == MODE_LIGHTS_OUT_TRANSPARENT); + boolean allowLight = isTransparentBar && !mBatteryController.isPowerSave(); boolean light = (vis & View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR) != 0; mIconController.setIconTint( |