Unregister for prox when display isn't OFF/DOZE am: 377acd6187 am: 8d7812a1db am: 8a7ad1745a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15432553 Change-Id: Ic5fc1e3581d2430a71d2efd19117820cacc9904b
This commit is contained in:
commit
e4b1a9077f
2 changed files with 10 additions and 0 deletions
|
@ -31,6 +31,11 @@
|
||||||
<!-- Doze: whether the double tap sensor reports 2D touch coordinates -->
|
<!-- Doze: whether the double tap sensor reports 2D touch coordinates -->
|
||||||
<bool name="doze_double_tap_reports_touch_coordinates">true</bool>
|
<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
|
<!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor
|
||||||
to brightness values; -1 means keeping the current brightness. -->
|
to brightness values; -1 means keeping the current brightness. -->
|
||||||
<integer-array name="config_doze_brightness_sensor_to_brightness">
|
<integer-array name="config_doze_brightness_sensor_to_brightness">
|
||||||
|
|
|
@ -31,6 +31,11 @@
|
||||||
<!-- Doze: whether the double tap sensor reports 2D touch coordinates -->
|
<!-- Doze: whether the double tap sensor reports 2D touch coordinates -->
|
||||||
<bool name="doze_double_tap_reports_touch_coordinates">true</bool>
|
<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
|
<!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor
|
||||||
to brightness values; -1 means keeping the current brightness. -->
|
to brightness values; -1 means keeping the current brightness. -->
|
||||||
<integer-array name="config_doze_brightness_sensor_to_brightness">
|
<integer-array name="config_doze_brightness_sensor_to_brightness">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue