Raviole: use hybrid prox sensor on keyguard

Bug: 184176119
Test: manual
Change-Id: Ib2a6c75986ea9e4f7514767ef6d4090e5d71f93c
This commit is contained in:
Beverly 2021-05-17 09:34:37 -04:00 committed by TreeHugger Robot
parent 336e603ad2
commit 4747f7c675

View file

@ -27,4 +27,20 @@
<bool name="doze_suspend_display_state_supported">false</bool> <bool name="doze_suspend_display_state_supported">false</bool>
<string name="config_rounded_mask">M21,0C19.94,0.01 18.83,0.04 17.73,0.11C16.91,0.17 16.09,0.25 15.3,0.36C14.5,0.48 13.72,0.62 12.95,0.81C11.42,1.19 9.97,1.72 8.65,2.43C7.32,3.14 6.12,4.02 5.08,5.07C4.04,6.11 3.15,7.31 2.44,8.64C1.73,9.97 1.19,11.42 0.82,12.94C0.63,13.7 0.48,14.49 0.37,15.29C0.25,16.09 0.17,16.9 0.12,17.72C0.05,18.82 0.02,19.93 0.01,21.55</string> <string name="config_rounded_mask">M21,0C19.94,0.01 18.83,0.04 17.73,0.11C16.91,0.17 16.09,0.25 15.3,0.36C14.5,0.48 13.72,0.62 12.95,0.81C11.42,1.19 9.97,1.72 8.65,2.43C7.32,3.14 6.12,4.02 5.08,5.07C4.04,6.11 3.15,7.31 2.44,8.64C1.73,9.97 1.19,11.42 0.82,12.94C0.63,13.7 0.48,14.49 0.37,15.29C0.25,16.09 0.17,16.9 0.12,17.72C0.05,18.82 0.02,19.93 0.01,21.55</string>
<!-- Override value to use for proximity sensor. -->
<string name="proximity_sensor_type" translatable="false">android.sensor.light</string>
<!-- If using proximity_sensor_type, specifies a threshold value to distinguish near and
far break points. A sensor value less than this is considered "near". -->
<item name="proximity_sensor_threshold" translatable="false" format="float" type="dimen">12</item>
<!-- If using proximity_sensor_type, specifies a threshold value to distinguish near and
far break points. A sensor value more than this is considered "far". If not set,
proximity_sensor_threshold is used. This allows one to implement a latching mechanism for
noisy sensors. -->
<item name="proximity_sensor_threshold_latch" translatable="false" format="float" type="dimen">24</item>
<string name="proximity_sensor_secondary_type" translatable="false">android.sensor.proximity</string>
<item name="proximity_sensor_secondary_threshold" translatable="false" format="float" type="dimen">5</item>
</resources> </resources>