Skip to content

Commit b3f59d0

Browse files
authored
cipher: Re-enable Faceunlock
1 parent 6207ea2 commit b3f59d0

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

config/common.mk

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -297,14 +297,16 @@ endif
297297

298298

299299
# Add Face Unlock for Cipher
300-
#ifeq ($(TARGET_FACE_UNLOCK_SUPPORTED),true)
301-
#PRODUCT_PACKAGES += \
302-
# FaceUnlockService
303-
#PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
304-
# ro.face_unlock_service.enabled=$(TARGET_FACE_UNLOCK_SUPPORTED)
305-
#PRODUCT_COPY_FILES += \
306-
# frameworks/native/data/etc/android.hardware.biometrics.face.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.biometrics.face.xml
307-
#endif
300+
TARGET_FACE_UNLOCK_SUPPORTED ?= true
301+
ifeq ($(TARGET_FACE_UNLOCK_SUPPORTED),true)
302+
# Face Unlock
303+
PRODUCT_PACKAGES += \
304+
ParanoidSense
305+
PRODUCT_SYSTEM_EXT_PROPERTIES += \
306+
ro.face.sense_service=true
307+
PRODUCT_COPY_FILES += \
308+
frameworks/native/data/etc/android.hardware.biometrics.face.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.biometrics.face.xml
309+
endif
308310

309311
# Add CipherOS Stuff
310312
CIPHER_VERSION := CipherOS-$(PRODUCT_VERSION_MAJOR)-$(PRODUCT_VERSION_MINOR)-$(TARGET_PRODUCT)-$(shell date +%Y%m%d-%H%M)-BETA-$(CIPHER_BUILD)-$(CIPHER_BUILD_ZIP_TYPE)

0 commit comments

Comments
 (0)