Add config for brightness sensor using prox am: 6853130349 am: 64e43ef286 am: 65ebe33bec
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15583232 Change-Id: I68ebce17d0be652775a33b7ef96d9698850f0a14
This commit is contained in:
commit
cdf3790d04
2 changed files with 10 additions and 0 deletions
|
@ -25,6 +25,11 @@
|
||||||
always-on display) -->
|
always-on display) -->
|
||||||
<string name="doze_brightness_sensor_type" translatable="false">com.google.sensor.binned_brightness</string>
|
<string name="doze_brightness_sensor_type" translatable="false">com.google.sensor.binned_brightness</string>
|
||||||
|
|
||||||
|
<!-- Doze: whether the brightness sensor uses the proximity sensor.
|
||||||
|
If both this parameter and doze_selectively_register_prox are true, registration for the
|
||||||
|
brightness sensor won't occur when the display state is ON. -->
|
||||||
|
<bool name="doze_brightness_uses_prox">false</bool>
|
||||||
|
|
||||||
<!-- Doze: can we assume the pickup sensor includes a proximity check? -->
|
<!-- Doze: can we assume the pickup sensor includes a proximity check? -->
|
||||||
<bool name="doze_pickup_performs_proximity_check">true</bool>
|
<bool name="doze_pickup_performs_proximity_check">true</bool>
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,11 @@
|
||||||
always-on display) -->
|
always-on display) -->
|
||||||
<string name="doze_brightness_sensor_type" translatable="false">com.google.sensor.binned_brightness</string>
|
<string name="doze_brightness_sensor_type" translatable="false">com.google.sensor.binned_brightness</string>
|
||||||
|
|
||||||
|
<!-- Doze: whether the brightness sensor uses the proximity sensor.
|
||||||
|
If both this parameter and doze_selectively_register_prox are true, registration for the
|
||||||
|
brightness sensor won't occur when the display state is ON. -->
|
||||||
|
<bool name="doze_brightness_uses_prox">false</bool>
|
||||||
|
|
||||||
<!-- Doze: can we assume the pickup sensor includes a proximity check? -->
|
<!-- Doze: can we assume the pickup sensor includes a proximity check? -->
|
||||||
<bool name="doze_pickup_performs_proximity_check">true</bool>
|
<bool name="doze_pickup_performs_proximity_check">true</bool>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue