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

Commit 7581623b authored by Darrell Shi's avatar Darrell Shi
Browse files

Update low light mode trigger thresholds.

Thresholds are updated to match nest values.

Bug: 242054692
Test: on device
Change-Id: I00ce204f46e4ad54c8773c30634601d524326543
parent 68e81c21
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -629,11 +629,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. -->