sm8350-common: Switch to AIDL Fingerprint HAL

- As of Android 15, AIDL Fingerprint HAL is required to set fingerprint icon indicator pos.

Change-Id: Ic5bb3ed213bbdfe147c863aa7258bde4731e06dd
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: shoya0x00 <shoya0x00@users.noreply.github.com>
This commit is contained in:
Tim Zimmermann 2024-01-21 20:08:37 +01:00 committed by zaidkhan0997
parent 9b31425f0b
commit a5adaea5f2
Signed by: zaidkhan0997
GPG Key ID: 6C50557AD547C980
3 changed files with 2 additions and 11 deletions

View File

@ -160,7 +160,7 @@ PRODUCT_PACKAGES += \
# Fingerprint # Fingerprint
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.3-service.xiaomi android.hardware.biometrics.fingerprint-service.xiaomi
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml

View File

@ -196,15 +196,6 @@
<!-- Whether device supports double tap to wake --> <!-- Whether device supports double tap to wake -->
<bool name="config_supportDoubleTapWake">true</bool> <bool name="config_supportDoubleTapWake">true</bool>
<!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
and Strength as defined in Authenticators.java -->
<string-array name="config_biometric_sensors" translatable="false" >
<!-- ID0:Fingerprint:Strong -->
<item>0:2:15</item>
</string-array>
<!-- Default list of files pinned by the Pinner Service --> <!-- Default list of files pinned by the Pinner Service -->
<string-array translatable="false" name="config_defaultPinnerServiceFiles"> <string-array translatable="false" name="config_defaultPinnerServiceFiles">
<item>"/system/framework/framework.jar"</item> <item>"/system/framework/framework.jar"</item>

View File

@ -52,7 +52,7 @@
/data/vendor/fpc(/.*)? u:object_r:fingerprint_vendor_data_file:s0 /data/vendor/fpc(/.*)? u:object_r:fingerprint_vendor_data_file:s0
/data/vendor/fpdump(/.*)? u:object_r:fingerprint_vendor_data_file:s0 /data/vendor/fpdump(/.*)? u:object_r:fingerprint_vendor_data_file:s0
/data/vendor/goodix(/.*)? u:object_r:fingerprint_vendor_data_file:s0 /data/vendor/goodix(/.*)? u:object_r:fingerprint_vendor_data_file:s0
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.3-service\.xiaomi u:object_r:hal_fingerprint_default_exec:s0 /vendor/bin/hw/android\.hardware\.biometrics\.fingerprint-service\.xiaomi u:object_r:hal_fingerprint_default_exec:s0
/sys/devices/platform/soc/soc:qcom,dsi-display-primary/fod_hbm u:object_r:vendor_sysfs_udfps:s0 /sys/devices/platform/soc/soc:qcom,dsi-display-primary/fod_hbm u:object_r:vendor_sysfs_udfps:s0
/sys/devices/platform/soc/soc:qcom,dsi-display-primary/fod_ui u:object_r:vendor_sysfs_udfps:s0 /sys/devices/platform/soc/soc:qcom,dsi-display-primary/fod_ui u:object_r:vendor_sysfs_udfps:s0
/sys/devices/virtual/touch/tp_dev/fod_status u:object_r:vendor_sysfs_udfps:s0 /sys/devices/virtual/touch/tp_dev/fod_status u:object_r:vendor_sysfs_udfps:s0