From 7d9af76bb9766adf7872ca8bf9fba8457255e111 Mon Sep 17 00:00:00 2001 From: Kris Chen Date: Mon, 10 Oct 2022 06:05:53 +0800 Subject: [PATCH] udfps: enable android fingerprint only for non-factory builds Bug: 244291767 Test: Perform UDFPS factory calibration test Change-Id: Icca078fd1b91d9cfee7af02153c790c5f33e6f51 --- fingerprint/udfps_common.mk | 3 --- fingerprint/udfps_shipping.mk | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fingerprint/udfps_common.mk b/fingerprint/udfps_common.mk index 9d413196..58088568 100644 --- a/fingerprint/udfps_common.mk +++ b/fingerprint/udfps_common.mk @@ -14,9 +14,6 @@ # limitations under the License. # -PRODUCT_COPY_FILES += \ - frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml - # Fingerprint manifest ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) DEVICE_MANIFEST_FILE += \ diff --git a/fingerprint/udfps_shipping.mk b/fingerprint/udfps_shipping.mk index ed88f66b..c8203b18 100644 --- a/fingerprint/udfps_shipping.mk +++ b/fingerprint/udfps_shipping.mk @@ -14,5 +14,8 @@ # limitations under the License. # +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml + PRODUCT_PACKAGES += \ android.hardware.biometrics.fingerprint-service.goodix