From 81a32f493f4f766e18c2f97e1c5e81b0a408985e Mon Sep 17 00:00:00 2001 From: Pranav Vashi Date: Sat, 14 Oct 2023 22:42:52 +0530 Subject: [PATCH] Settings: Add app lock settings for alternate security settings provider * When google security settings provider overrides security settings, app lock settings cannot be found. * Add same to advanced settings. Fixes: https://github.com/crdroidandroid/crdroid_features/issues/101 Signed-off-by: Pranav Vashi --- res/xml/more_security_privacy_settings.xml | 5 +++++ src/com/android/settings/safetycenter/SafetyCenterUtils.java | 4 ++++ .../security/applock/AppLockSettingsPreferenceController.kt | 4 ++-- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/res/xml/more_security_privacy_settings.xml b/res/xml/more_security_privacy_settings.xml index 5911e67be1a..26f6ae9c82e 100644 --- a/res/xml/more_security_privacy_settings.xml +++ b/res/xml/more_security_privacy_settings.xml @@ -158,6 +158,11 @@ android:key="security_settings_device_admin_category" android:layout="@layout/preference_category_no_label"> + + +