otter: build otter specific fingerprint service
Change-Id: I4a25e52cd82178c0a9d9a0e57e4e9295809653ce
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/device.mk b/device.mk
index 567eddb..2a9a808 100644
--- a/device.mk
+++ b/device.mk
@@ -148,7 +148,7 @@
# Fingerprint
PRODUCT_PACKAGES += \
- android.hardware.biometrics.fingerprint@2.1-service
+ android.hardware.biometrics.fingerprint@2.3-service.otter
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts
index 416b688..fb5c2bb 100644
--- a/sepolicy/vendor/file_contexts
+++ b/sepolicy/vendor/file_contexts
@@ -1,5 +1,6 @@
# Fingerprint
/dev/goodix_fp u:object_r:fingerprint_device:s0
+/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.3-service\.otter u:object_r:hal_fingerprint_default_exec:s0
# NFC
/dev/tms_nfc u:object_r:nfc_device:s0