Move fingerprint feature flag to system
Avoid declaring fingerprint feature on GSI where it doesn't work
properly.
Issue: FP3-A12#23
Test: run cts-on-gsi -m CtsHardwareTestCases -t android.hardware.biometrics.cts.BiometricManagerTest#test_getSettingName_forBiometrics
Test: run cts-on-gsi -m CtsHardwareTestCases -t android.hardware.fingerprint.cts.FingerprintManagerTest#test_hasFingerprintHardware
Change-Id: I82e16bebde52439c0e9e98589ae5a006ca97ed41
diff --git a/device.mk b/device.mk
index f89c5df..c9521a1 100644
--- a/device.mk
+++ b/device.mk
@@ -537,7 +537,7 @@
# Fingerprint feature flag
PRODUCT_COPY_FILES += \
- frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
+ frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.fingerprint.xml
# Framework Detect