From: Danny Wood Date: Fri, 26 Apr 2019 11:49:03 +0000 (+0100) Subject: a5xelte: fingerprint: add fingerprint hal and configuration X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=21e067f2da1b072838456a054f53996a751ee92a;p=GitHub%2FLineageOS%2Fandroid_device_samsung_a5xelte.git a5xelte: fingerprint: add fingerprint hal and configuration Change-Id: I489447664e0f608b07553adbfd55ded94fddf0d4 --- diff --git a/BoardConfig.mk b/BoardConfig.mk index 6a05826..e3e6d74 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -24,6 +24,9 @@ TARGET_OTA_ASSERT_DEVICE := a5xelte, a5xeltexx, a5xelteub, a5xeltedo # Bluetooth BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(LOCAL_PATH)/bluetooth +# Fingerprint +TARGET_SEC_FP_HAL_VARIANT := bauth + # RIL BOARD_MODEM_TYPE := tss310 BOARD_PROVIDES_LIBRIL := true diff --git a/device.mk b/device.mk index 93ad9c7..ba67e52 100644 --- a/device.mk +++ b/device.mk @@ -41,6 +41,12 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ android.hardware.bluetooth@1.0-service +# Fingerprint +PRODUCT_PACKAGES += \ + fingerprint.exynos5 \ + android.hardware.biometrics.fingerprint@2.1-impl \ + android.hardware.biometrics.fingerprint@2.1-service + # Camera PRODUCT_PACKAGES += \ Snap @@ -107,6 +113,7 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \ frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \ frameworks/native/data/etc/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml \ + frameworks/native/data/etc/android.hardware.fingerprint.xml:system/etc/permissions/android.hardware.fingerprint.xml \ $(LOCAL_PATH)/configs/permissions/com.samsung.permission.HRM_EXT.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.samsung.permission.HRM_EXT.xml \ $(LOCAL_PATH)/configs/permissions/com.samsung.permission.SSENSOR.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.samsung.permission.SSENSOR.xml diff --git a/overlay/packages/apps/Settings/res/values/config.xml b/overlay/packages/apps/Settings/res/values/config.xml index 9699e82..f5e6007 100644 --- a/overlay/packages/apps/Settings/res/values/config.xml +++ b/overlay/packages/apps/Settings/res/values/config.xml @@ -18,4 +18,11 @@ true + + + 1