Add enterprise popup to notif lockscreen settings

Test: Robotests, manual with TestDPC
Fixes: 137638270
Change-Id: I22c492d1455cd0a3b6036333cd51a13d87d8a475
This commit is contained in:
Julia Reynolds
2021-04-22 14:50:39 -04:00
parent e8a33e0c83
commit e6fbc5877e
4 changed files with 100 additions and 52 deletions

View File

@@ -79,13 +79,13 @@
android:singleLineTitle="false"
android:summary="@string/summary_placeholder" />
<SwitchPreference
<com.android.settingslib.RestrictedSwitchPreference
android:key="lock_screen_redact"
android:title="@string/lock_screen_notifs_redact"
android:summary="@string/lock_screen_notifs_redact_summary"
settings:controller="com.android.settings.notification.RedactNotificationPreferenceController" />
<SwitchPreference
<com.android.settingslib.RestrictedSwitchPreference
android:key="lock_screen_work_redact"
android:title="@string/lock_screen_notifs_redact_work"
android:summary="@string/lock_screen_notifs_redact_work_summary"

View File

@@ -84,14 +84,14 @@
android:singleLineTitle="false"
android:summary="@string/summary_placeholder" />
<SwitchPreference
<com.android.settingslib.RestrictedSwitchPreference
android:key="lock_screen_redact"
android:order="14"
android:title="@string/lock_screen_notifs_redact"
android:summary="@string/lock_screen_notifs_redact_summary"
settings:controller="com.android.settings.notification.RedactNotificationPreferenceController" />
<SwitchPreference
<com.android.settingslib.RestrictedSwitchPreference
android:key="lock_screen_work_redact"
android:order="15"
android:title="@string/lock_screen_notifs_redact_work"