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

Commit f8f1306e authored by Darrell Shi's avatar Darrell Shi Committed by Android (Google) Code Review
Browse files

Merge "Update low light mode trigger thresholds." into tm-qpr-dev

parents 3b625dec 7581623b
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -630,11 +630,15 @@

    <!-- This value is used when calculating whether the device is in ambient light mode. It is
        light mode when the light sensor sample value exceeds above this value. -->
    <integer name="config_ambientLightModeThreshold">10</integer>
    <item name="config_ambientLightModeThreshold" translatable="false" format="float" type="dimen">
        0.8
    </item>

    <!-- This value is used when calculating whether the device is in ambient dark mode. It is
        dark mode when the light sensor sample value drops below this value. -->
    <integer name="config_ambientDarkModeThreshold">5</integer>
    <item name="config_ambientDarkModeThreshold" translatable="false" format="float" type="dimen">
        0.4
    </item>

    <!-- This value is used when calculating whether the device is in ambient light mode. Each
        sample contains light sensor events from this span of time duration. -->