Unregister for prox when display isn't OFF/DOZE

Test: manual
Bug: 192699858
Change-Id: Ibd44e372e0171f2eb6129df448e6b66c5b923d02
This commit is contained in:
Beverly 2021-07-30 12:38:52 -04:00
parent ce87e291e8
commit 4ac85f0083
2 changed files with 10 additions and 0 deletions

View file

@ -31,6 +31,11 @@
<!-- Doze: whether the double tap sensor reports 2D touch coordinates -->
<bool name="doze_double_tap_reports_touch_coordinates">true</bool>
<!-- Doze: only register sensors that use prox when device is in certain Display states. This
may delay registering sensors when device first shows dozing UI but the
Display & Power state hasn't changed to low-power mode yet. -->
<bool name="doze_selectively_register_prox">true</bool>
<!-- 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">

View file

@ -31,6 +31,11 @@
<!-- Doze: whether the double tap sensor reports 2D touch coordinates -->
<bool name="doze_double_tap_reports_touch_coordinates">true</bool>
<!-- Doze: only register sensors that use prox when device is in certain Display states. This
may delay registering sensors when device first shows dozing UI but the
Display & Power state hasn't changed to low-power mode yet. -->
<bool name="doze_selectively_register_prox">true</bool>
<!-- 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">