sdm660-common: allow auto-brightness while in doze

* Values from Coral

Signed-off-by: Rizky Benggolo <travarilo@gmail.com>
Change-Id: I7968e05fb37f4f2b0c10bd62c6dfb7695aeb5109
This commit is contained in:
Lup Gabriel 2018-04-10 19:59:01 +03:00 committed by OdSazib
parent a85c69a8b5
commit 1631a1e242
No known key found for this signature in database
GPG key ID: A2D2E5C18BB04462

View file

@ -31,4 +31,18 @@
<!-- Doze: does this device support STATE_DOZE and STATE_DOZE_SUSPEND? -->
<bool name="doze_display_state_supported">true</bool>
<!-- Type of a sensor that provides a low-power estimate of the desired display
brightness, suitable to listen to while the device is asleep (e.g. during
always-on display) -->
<string name="doze_brightness_sensor_type" translatable="false">android.sensor.light</string>
<!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor
to brightness values; -1 means keeping the current brightness. -->
<integer-array name="config_doze_brightness_sensor_to_brightness">
<item>-1</item> <!-- 0: OFF -->
<item>4</item> <!-- 1: NIGHT -->
<item>7</item> <!-- 2: LOW -->
<item>34</item> <!-- 3: HIGH -->
<item>34</item> <!-- 4: SUN -->
</integer-array>
</resources>