Merge "DO NOT MERGE: Disable night UI mode in battery saver." into pi-dev

This commit is contained in:
TreeHugger Robot
2019-02-26 23:35:10 +00:00
committed by Android (Google) Code Review

View File

@@ -330,8 +330,8 @@ public class StatusBar extends SystemUI implements DemoMode,
/** Whether to force dark theme if Configuration.UI_MODE_NIGHT_YES. */ /** Whether to force dark theme if Configuration.UI_MODE_NIGHT_YES. */
private static final boolean DARK_THEME_IN_NIGHT_MODE = true; private static final boolean DARK_THEME_IN_NIGHT_MODE = true;
/** Whether to switch the device into night mode in battery saver. */ /** Whether to switch the device into night mode in battery saver. (Disabled.) */
private static final boolean NIGHT_MODE_IN_BATTERY_SAVER = true; 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 * Never let the alpha become zero for surfaces that draw with SRC - otherwise the RenderNode