summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dan Sandler <dsandler@android.com> 2019-02-26 15:50:56 -0800
committer android-build-merger <android-build-merger@google.com> 2019-02-26 15:50:56 -0800
commit664bfc8aff30a24d41df6eb07e9298e772f7bbab (patch)
tree1978fe8c7c225ead51377fb159ff6362011f301e
parent9faf498f65b3ecd1ef82738a7eaf24b7adfc771e (diff)
parentcd8eace91d4b3b2c3de29304f226dbefa9214216 (diff)
Merge "DO NOT MERGE: Disable night UI mode in battery saver." into pi-dev
am: cd8eace91d Change-Id: I3d6d5c3c4f00e7f04be9eefbd94809feeea821ff
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java4
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