diff options
Diffstat (limited to 'config/common.mk')
-rw-r--r-- | config/common.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/common.mk b/config/common.mk index c0886a6d..c30fa76e 100644 --- a/config/common.mk +++ b/config/common.mk @@ -105,6 +105,17 @@ PRODUCT_MINIMIZE_JAVA_DEBUG_INFO := true # Disable vendor restrictions PRODUCT_RESTRICT_VENDOR_FILES := false +# Face Unlock +TARGET_FACE_UNLOCK_SUPPORTED ?= true +ifeq ($(TARGET_FACE_UNLOCK_SUPPORTED),true) +PRODUCT_PACKAGES += \ + FaceUnlockService +PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ + ro.face_unlock_service.enabled=$(TARGET_FACE_UNLOCK_SUPPORTED) +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.biometrics.face.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.biometrics.face.xml +endif + # Bootanimation TARGET_SCREEN_WIDTH ?= 1080 TARGET_SCREEN_HEIGHT ?= 1920 |