haydn: Move to Xiaomi fingerprint AIDL

Change-Id: I68dba7184034fd37454c7d32a065f041cb611625
This commit is contained in:
basamaryan 2024-09-29 16:24:14 -04:00 committed by AdarshGrewal
parent 027b32c6bb
commit fa99fdd4b3
3 changed files with 6 additions and 17 deletions

View file

@ -33,6 +33,9 @@ BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD := $(BOOT_KERNEL_MODULES)
# Partitions
BOARD_DTBOIMG_PARTITION_SIZE := 25165824
# Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Vibrator
TARGET_QTI_VIBRATOR_EFFECT_LIB := libqtivibratoreffect.xiaomi
TARGET_QTI_VIBRATOR_USE_EFFECT_STREAM := true

View file

@ -328,23 +328,6 @@
<!-- The default peak refresh rate. -->
<integer name="config_defaultPeakRefreshRate">120</integer>
<!-- Indicates whether device has a power button fingerprint sensor. -->
<bool name="config_is_powerbutton_fps">true</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>local:4630946736638489730</item> <!--item>displayId</item-->
<item>1080</item> <!--item>sensorLocationX</item-->
<item>970</item> <!--item>sensorLocationY</item-->
<item>200</item> <!--item>sensorRadius</item-->
</array>
<!-- Applications which are disabled unless matching a particular sku -->
<string-array name="config_disableApksUnlessMatchedSku_apk_list" translatable="false">
<item>com.android.nfc</item>

3
vendor.prop Normal file
View file

@ -0,0 +1,3 @@
# Fingerprint
persist.vendor.fingerprint.type=side
persist.vendor.fingerprint.sensor_location=1080|970|200