From 445d3a0cf21e10a07947f348b4ab327b6de9c528 Mon Sep 17 00:00:00 2001 From: Simon1511 Date: Sat, 3 Feb 2024 14:07:51 +0100 Subject: [PATCH] sm7125-common: switch to AIDL fingerprint HAL Change-Id: I74e786b3d91f6d54fb29f1259ea4423b6bb1e95a --- common.mk | 2 +- configs/framework_compatibility_matrix.xml | 8 -------- .../frameworks/base/core/res/res/values/config.xml | 11 ----------- sepolicy/vendor/file_contexts | 2 +- vendor.prop | 4 ++++ 5 files changed, 6 insertions(+), 21 deletions(-) diff --git a/common.mk b/common.mk index 96013d9..50e83a5 100644 --- a/common.mk +++ b/common.mk @@ -162,7 +162,7 @@ PRODUCT_PACKAGES += \ # Fingerprint PRODUCT_PACKAGES += \ - android.hardware.biometrics.fingerprint@2.3-service.samsung + android.hardware.biometrics.fingerprint-service.samsung # fastbootd PRODUCT_PACKAGES += \ diff --git a/configs/framework_compatibility_matrix.xml b/configs/framework_compatibility_matrix.xml index a7e7ac0..4d15ae9 100644 --- a/configs/framework_compatibility_matrix.xml +++ b/configs/framework_compatibility_matrix.xml @@ -9,14 +9,6 @@ default - - android.hardware.biometrics.fingerprint - 2.3 - - IBiometricsFingerprint - default - - android.hardware.gnss 1.0-1 diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 7cb44b7..4677105 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -1274,14 +1274,6 @@ on the headphone/microphone jack. When false use the older uevent framework. --> true - - - 0:2:15 - - @@ -1350,9 +1342,6 @@ true - - 4 - true diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts index 93f23e0..fb53f2b 100644 --- a/sepolicy/vendor/file_contexts +++ b/sepolicy/vendor/file_contexts @@ -59,7 +59,7 @@ /(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch\@[0-9]\.[0-9]-service.sm7125 u:object_r:hal_lineage_touch_default_exec:s0 /(vendor|system/vendor)/bin/secril_config_svc u:object_r:secril_config_svc_exec:s0 /(vendor|system/vendor)/bin/hw/vendor\.lineage\.livedisplay@2\.0-service.samsung-qcom\.sm7125 u:object_r:hal_lineage_livedisplay_sysfs_exec:s0 -/(vendor|system/vendor)/bin/hw/android.hardware.biometrics.fingerprint@2.3-service.samsung u:object_r:hal_fingerprint_default_exec:s0 +/(vendor|system/vendor)/bin/hw/android.hardware.biometrics.fingerprint-service.samsung u:object_r:hal_fingerprint_default_exec:s0 /(vendor|system/vendor)/bin/hw/vendor.samsung.hardware.thermal@1.0-service u:object_r:hal_thermal_default_exec:s0 /(vendor|system/vendor)/bin/hw/android.hardware.sensors-service.samsung-multihal u:object_r:hal_sensors_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.vibrator\-service\.samsung u:object_r:hal_vibrator_default_exec:s0 diff --git a/vendor.prop b/vendor.prop index a0dae0b..ee2e607 100644 --- a/vendor.prop +++ b/vendor.prop @@ -156,6 +156,10 @@ ro.hardware.vulkan=adreno ro.hardware.egl=adreno ro.opengles.version=196610 +# Fingerprint +ro.vendor.fingerprint.request_touch_event=true +ro.vendor.fingerprint.type=udfps_optical + # Gatekeeper ro.hardware.gatekeeper=mdfpp