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 <vincent.knecht@mailoo.org>
diff --git a/shared/device.mk b/shared/device.mk
index c9375b7..6ac105f 100644
--- a/shared/device.mk
+++ b/shared/device.mk
@@ -213,6 +213,10 @@
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)