diff options
author | Dan Sandler <dsandler@android.com> | 2019-02-25 18:26:04 -0500 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2019-02-26 03:17:30 +0000 |
commit | ce1770b77832a72cddaea23263329d6c8ef56131 (patch) | |
tree | 84adf382b74291b43e6a216618071f3aa9e3e080 | |
parent | b9596e5febccbaf1452de7e7a681a4619f9c3825 (diff) | |
download | base-ce1770b77832a72cddaea23263329d6c8ef56131.tar.gz |
DO NOT MERGE: Disable night UI mode in battery saver.
Apps are simply not ready for this.
Bug: 122968431
Test: Toggle battery saver; confirm that a config change is not generated
Change-Id: I792d42e31254c8189e95c3f076b9eaea893209a6
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java index 70bca8d41094..d6a770f75e2f 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java @@ -330,8 +330,8 @@ public class StatusBar extends SystemUI implements DemoMode, /** Whether to force dark theme if Configuration.UI_MODE_NIGHT_YES. */ private static final boolean DARK_THEME_IN_NIGHT_MODE = true; - /** Whether to switch the device into night mode in battery saver. */ - private static final boolean NIGHT_MODE_IN_BATTERY_SAVER = true; + /** Whether to switch the device into night mode in battery saver. (Disabled.) */ + private static final boolean NIGHT_MODE_IN_BATTERY_SAVER = false; /** * Never let the alpha become zero for surfaces that draw with SRC - otherwise the RenderNode |