Add the dialog when clicking on the diabled switch.
Bug: 302189945 Change-Id: I0bf7774b80a59c70a2ea1725e0adba522854adde
This commit is contained in:
@@ -36,10 +36,11 @@
|
||||
settings:lottie_rawRes="@drawable/content_protection_preference_illustration"
|
||||
settings:searchable="false" />
|
||||
|
||||
<SwitchPreference
|
||||
<com.android.settingslib.RestrictedSwitchPreference
|
||||
android:key="content_protection_preference_user_consent_work_profile_switch"
|
||||
android:title="@string/content_protection_preference_user_consent_work_profile_switch_title"
|
||||
settings:isPreferenceVisible="false" />
|
||||
settings:restrictedSwitchSummary="@string/summary_placeholder"
|
||||
settings:controller="com.android.settings.security.ContentProtectionWorkSwitchController"/>
|
||||
|
||||
<com.android.settingslib.widget.FooterPreference
|
||||
android:key="content_protection_preference_subpage_footer"
|
||||
|
||||
Reference in New Issue
Block a user