Add Content Protection settings to Advanced Security page

That simplifies OEM integration when SafetyCenter is disabled.
Entrypoints are kept in both SafetyCenter-specific `more_security_privacy_settings`
and `security_advanced_settings` as these pages are mutually exclusive.

Bug: 399869618
Test: manual - took a photo
Change-Id: Ie1280fd53b46191763d820a186c769414d82629e
This commit is contained in:
Yuri Ufimtsev
2025-02-28 16:32:18 +00:00
parent 566663c374
commit 375679e5aa

View File

@@ -30,6 +30,15 @@
android:key="security_category"
android:layout="@layout/preference_category_no_label" />
<Preference
android:order="230"
android:key="content_protection_preference"
android:title="@string/content_protection_preference_title"
android:summary="@string/content_protection_preference_summary"
android:fragment="com.android.settings.security.ContentProtectionPreferenceFragment"
settings:keywords="@string/content_protection_preference_title"
settings:controller="com.android.settings.security.ContentProtectionPreferenceController" />
<PreferenceCategory
android:order="240"
android:key="security_settings_device_admin_category"