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

Commit 1d513c90 authored by Darrell Shi's avatar Darrell Shi Committed by Automerger Merge Worker
Browse files

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

parents c15b2a5c f8f1306e
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. -->