From 17aa085dc09240d389918a04804303b5585c1f23 Mon Sep 17 00:00:00 2001 From: chenkris Date: Mon, 11 Dec 2023 03:47:03 +0000 Subject: [PATCH] Enable fingerprint HAL Bug: 315737323 Test: build and boot on device Change-Id: I6e9d3d45413ccc1c2864c033a433b49a6c326ee1 --- device-tegu.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/device-tegu.mk b/device-tegu.mk index c325bb3..01a52c4 100644 --- a/device-tegu.mk +++ b/device-tegu.mk @@ -237,3 +237,13 @@ PRODUCT_VENDOR_PROPERTIES += \ # PKVM Memory Reclaim PRODUCT_VENDOR_PROPERTIES += \ hypervisor.memory_reclaim.supported=1 + +# Fingerprint HAL +GOODIX_CONFIG_BUILD_VERSION := g7_trusty +PRODUCT_SOONG_NAMESPACES += vendor/google_devices/tegu/prebuilts/firmware/fingerprint +$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_common.mk) +ifeq ($(filter factory%, $(TARGET_PRODUCT)),) +$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_shipping.mk) +else +$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_factory.mk) +endif