Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce1770b7 authored by Dan Sandler's avatar Dan Sandler Committed by Daniel Sandler
Browse files

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
parent b9596e5f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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