Skip to content

Commit

Permalink
Enable pin/pattern/password locking support
Browse files Browse the repository at this point in the history
Add the required config file so that pin, pattern and password
locking methods are available in security settings menu.

Signed-off-by: Vincent Knecht <[email protected]>
  • Loading branch information
vknecht authored and calebccff committed Sep 2, 2022
1 parent fa06fba commit 848542a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shared/device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 848542a

Please sign in to comment.