udfps: enable android fingerprint only for non-factory builds

Bug: 244291767
Test: Perform UDFPS factory calibration test
Change-Id: Icca078fd1b91d9cfee7af02153c790c5f33e6f51
This commit is contained in:
Kris Chen 2022-10-10 06:05:53 +08:00 committed by KRIS CHEN
parent b2d7dc9459
commit 7d9af76bb9
2 changed files with 3 additions and 3 deletions

View file

@ -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 += \

View file

@ -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