From 848542a5472349ca65153444b664c65378a13824 Mon Sep 17 00:00:00 2001 From: Vincent Knecht Date: Mon, 29 Aug 2022 19:11:11 +0200 Subject: [PATCH] Enable pin/pattern/password locking support Add the required config file so that pin, pattern and password locking methods are available in security settings menu. Signed-off-by: Vincent Knecht --- shared/device.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shared/device.mk b/shared/device.mk index c9375b78..6ac105f4 100644 --- a/shared/device.mk +++ b/shared/device.mk @@ -213,6 +213,10 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ frameworks/native/data/etc/android.software.device_admin.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_admin.xml +# Enable pin/pattern/password locking support +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.software.secure_lock_screen.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.secure_lock_screen.xml + # Copy firmware files $(call inherit-product-if-exists, $(LOCAL_PATH)/firmware/device.mk)