mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: overlay: Define threshold and type of proximity sensor
- Somehow looks like its needed for prox sensor
This commit is contained in:
parent
7b7541ebf8
commit
55f0646f0d
1 changed files with 11 additions and 0 deletions
|
|
@ -29,6 +29,17 @@
|
|||
Possible values: 3, 3.1, 3.2, 4, 4.1, 4.2 -->
|
||||
<string name="config_screenRecorderAVCProfileLevel" translatable="false">3.1</string>
|
||||
|
||||
<!-- Override value to use for proximity sensor. -->
|
||||
<string name="proximity_sensor_type" translatable="false">android.sensor.proximity</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">1.0</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">5.0</item>
|
||||
|
||||
<!-- Should we vibrate on an icon animation of the shelf. This should only be active if the
|
||||
vibrator is capable of subtle vibrations -->
|
||||
<bool name="config_vibrateOnIconAnimation">true</bool>
|
||||
|
|
|
|||
Loading…
Reference in a new issue