Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f077e57 authored by Alexander Martinz's avatar Alexander Martinz
Browse files

axolotl: fingerprint: disable on GSIs

Move the permission definition from vendor to product partition
to disable fingerprint on GSI, as our current fingerprint blobs
do not work on them and require a patch in system/libhidl[1].

[1] - https://github.com/LineageOS/android_system_libhidl/commit/8324445c8f709dd4bd6e5b8787ac8746601053f9



Test: run cts-on-gsi -m CtsBiometricsTestCases
Test: run cts-on-gsi -m CtsHardwareTestCases -t android.hardware.fingerprint.cts.FingerprintManagerTest
Test: run vts -m VtsHalBiometricsFingerprintV2_1TargetTest
Test: run vts -m VtsHalBiometricsFingerprintV2_2TargetTest
Change-Id: I407ea295a57dad26fd92599ca3e0b1ddb62eb892
Signed-off-by: Alexander Martinz's avatarAlexander Martinz <amartinz@shiftphones.com>
parent 69acf613
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -208,6 +208,9 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_PACKAGES += \
    android.hardware.biometrics.fingerprint@2.1-service \

PRODUCT_COPY_FILES += \
    frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.fingerprint.xml \

# FM packages
PRODUCT_PACKAGES += \
    FM2 \
@@ -224,7 +227,6 @@ PRODUCT_COPY_FILES += \
    frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
    frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
    frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \
    frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
    frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
    frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
    frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \