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
This commit is contained in:
Dan Sandler
2019-02-25 18:26:04 -05:00
committed by Daniel Sandler
parent b9596e5feb
commit ce1770b778

View File

@@ -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