From f1b0c81ba6d30cc0a4eb5c8f688ec600aa716c68 Mon Sep 17 00:00:00 2001 From: Danny Wood Date: Fri, 26 Apr 2019 12:49:03 +0100 Subject: [PATCH] a7xelte: fingerprint: add fingerprint hal and configuration Change-Id: I489447664e0f608b07553adbfd55ded94fddf0d4 --- BoardConfig.mk | 3 +++ device.mk | 7 +++++++ overlay/packages/apps/Settings/res/values/config.xml | 7 +++++++ 3 files changed, 17 insertions(+) diff --git a/BoardConfig.mk b/BoardConfig.mk index 09d9427..15289b5 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -24,6 +24,9 @@ TARGET_OTA_ASSERT_DEVICE := a7xelte, a7xeltexx, a7xelteub, a7xeltedo # 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 d2afc3e..cb335e4 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 -- 2.20.1