New config value for specifying alternative prox sensor

Bug: 149420648
Test: n/a
Change-Id: I9cda34e99299393727da23b3f25779a7cce89a13
This commit is contained in:
Dave Mankoff
2020-02-20 11:46:43 -05:00
parent 09b60a7681
commit aa569810f0

View File

@@ -31,6 +31,13 @@
always-on display) -->
<string name="doze_brightness_sensor_type" translatable="false">com.google.sensor.binned_brightness</string>
<!-- Override value to use for proximity sensor. -->
<string name="proximity_sensor_type" translatable="false">com.google.sensor.binned_brightness</string>
<!-- If using proximity_sensor_type, specifies a threshold value to distinguish near and
far break points.-->
<item name="proximity_sensor_threshold" translatable="false" format="float" type="dimen">1</item>
<!-- Doze: can we assume the pickup sensor includes a proximity check? -->
<bool name="doze_pickup_performs_proximity_check">true</bool>