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

Commit 6e2d1880 authored by David Notario's avatar David Notario
Browse files

Revert "Do not allow apps to set night mode"

This reverts commit 9f4132fa.

Reason for revert: This change will break Android Auto and other users of night mode. There is an ongoing discussion to figure out path forward (See http://go/dt-aa-nm)

Change-Id: I37c97e62a3414be7a51a47614f312b97d647dea8
parent 9f4132fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -913,7 +913,7 @@
    <!--  Control whether to lock day/night mode change from normal application. When it is
          true, day / night mode change is only allowed to apps with MODIFY_DAY_NIGHT_MODE
          permission. -->
    <bool name="config_lockDayNightMode">true</bool>
    <bool name="config_lockDayNightMode">false</bool>

    <!-- Control the default night mode to use when there is no other mode override set.
         One of the following values (see UiModeManager.java):