msm8976-common: Move to hardware/samsung fingerprint HAL

This commit is contained in:
luk1337 2020-03-22 12:19:52 +01:00 committed by ripee
parent bb1b84673d
commit b0f11914d9
4 changed files with 14 additions and 3 deletions

View File

@ -150,7 +150,9 @@ BOARD_USERDATAIMAGE_PARTITION_SIZE := 26268905472
TARGET_FS_CONFIG_GEN := $(VENDOR_PATH)/config.fs TARGET_FS_CONFIG_GEN := $(VENDOR_PATH)/config.fs
# Fingerprint # Fingerprint
TARGET_SEC_FP_HAL_VARIANT := bauth TARGET_SEC_FP_CALL_NOTIFY_ON_CANCEL := true
TARGET_SEC_FP_USES_PERCENTAGE_SAMPLES := true
TARGET_SEC_FP_CALL_CANCEL_ON_ENROLL_COMPLETION := true
# GPS # GPS
USE_DEVICE_SPECIFIC_GPS := true USE_DEVICE_SPECIFIC_GPS := true

View File

@ -26,6 +26,15 @@
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="hidl">
<name>vendor.samsung.hardware.biometrics.fingerprint</name>
<transport>hwbinder</transport>
<version>2.1</version>
<interface>
<name>ISecBiometricsFingerprint</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl"> <hal format="hidl">
<name>android.hardware.bluetooth</name> <name>android.hardware.bluetooth</name>
<transport>hwbinder</transport> <transport>hwbinder</transport>

View File

@ -138,8 +138,7 @@ PRODUCT_PACKAGES += \
# Fingerprint # Fingerprint
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.1-service \ android.hardware.biometrics.fingerprint@2.1-service.samsung
fingerprint.msm8952
# For android_filesystem_config.h # For android_filesystem_config.h
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \

View File

@ -19,6 +19,7 @@
# Fingerprint # Fingerprint
/dev/vfsspi u:object_r:vfsspi_device:s0 /dev/vfsspi u:object_r:vfsspi_device:s0
/data/biometrics(/.*)? u:object_r:biometrics_data_file:s0 /data/biometrics(/.*)? u:object_r:biometrics_data_file:s0
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.biometrics\.fingerprint@2\.1-service\.samsung u:object_r:hal_fingerprint_default_exec:s0
# Graphics # Graphics
/sys/devices/virtual/lcd/panel(/.*)? u:object_r:sysfs_graphics:s0 /sys/devices/virtual/lcd/panel(/.*)? u:object_r:sysfs_graphics:s0