summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorjhenrique09 <jhenrique09.mcz@hotmail.com>2020-03-27 16:55:56 -0300
committeralk3pInjection <webmaster@raspii.tech>2021-09-27 21:17:05 +0800
commit3791bf6291b66cb729be9e5f3e06119ae1460b60 (patch)
tree79c597ee924ad44726479dc726650ec2b549371b /config
parenta549f60542a0da5e692a9b4ec03ca9ebf873061a (diff)
[ArrowOS] vendor: Port face unlock featureHEADlineage-18.1
Also add a flag to opt-out commit 1875633abcd835678d06cb1e6106dba2f48baacb (HEAD) Author: jhenrique09 <jhenrique09.mcz@hotmail.com> Date: Sat Mar 6 14:57:31 2021 +0100 vendor: Add back FaceUnlock support Change-Id: I361ce913dfb5f1db574b3cf3cdeeeaaca2338ac1 Change-Id: I9d4bb7174d28ca067665893a8096b3176a5aa7a6
Diffstat (limited to 'config')
-rw-r--r--config/common.mk11
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