LG8n: overlay: Configure side fingerprint sensor properties

Change-Id: I75ba312895d18eae8c89db4dbb24a6945bad9860
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
Łukasz Patron 2024-07-20 13:12:41 +08:00 committed by Shirayuki39
parent 5c82417099
commit 6b0098d172
2 changed files with 15 additions and 1 deletions

View file

@ -313,4 +313,18 @@
<!-- Control whether the always on display mode is enabled by default. This value will be used <!-- Control whether the always on display mode is enabled by default. This value will be used
during initialization when the setting is still null. --> during initialization when the setting is still null. -->
<bool name="config_dozeAlwaysOnEnabled">false</bool> <bool name="config_dozeAlwaysOnEnabled">false</bool>
<!-- An array of arrays of side fingerprint sensor properties relative to each display.
Note: this value is temporary and is expected to be queried directly
from the HAL in the future. -->
<array name="config_sfps_sensor_props" translatable="false">
<item>@array/config_sfps_sensor_props_0</item>
</array>
<array name="config_sfps_sensor_props_0" translatable="false">
<item></item> <!-- displayId -->
<item>1080</item> <!-- sensorLocationX -->
<item>1050</item> <!-- sensorLocationY -->
<item>210</item> <!-- sensorRadius -->
</array>
</resources> </resources>

View file

@ -28,7 +28,7 @@
display fingerprint sensors, this directly corresponds to the fingerprint sensor's location. display fingerprint sensors, this directly corresponds to the fingerprint sensor's location.
For devices with sensors on the back of the device, this corresponds to the location on the For devices with sensors on the back of the device, this corresponds to the location on the
screen directly in front of the sensor. --> screen directly in front of the sensor. -->
<dimen name="physical_fingerprint_sensor_center_screen_location_y">1100px</dimen> <dimen name="physical_fingerprint_sensor_center_screen_location_y">1150px</dimen>
<!-- Margin on the right side of the system icon group on Keyguard. --> <!-- Margin on the right side of the system icon group on Keyguard. -->
<dimen name="system_icons_keyguard_padding_end">0dp</dimen> <dimen name="system_icons_keyguard_padding_end">0dp</dimen>