Show setting for work profile lock screen notification
- Add work profile notification setting to security_lockscreen_setting - Modify the preference controller to stop hardcode preference keys. cherry-pick of: ag/2315314 Bug: 62051309 Bug: 62045663 Test: make RunSettingsRoboTests Change-Id: I779590e34c1eca2dab5b62dda473cfa4371fc064
This commit is contained in:
@@ -69,7 +69,10 @@ public class ConfigureNotificationSettings extends DashboardFragment {
|
||||
final PulseNotificationPreferenceController pulseController =
|
||||
new PulseNotificationPreferenceController(context);
|
||||
final LockScreenNotificationPreferenceController lockScreenNotificationController =
|
||||
new LockScreenNotificationPreferenceController(context);
|
||||
new LockScreenNotificationPreferenceController(context,
|
||||
"lock_screen_notifications",
|
||||
"lock_screen_notifications_profile_header",
|
||||
"lock_screen_notifications_profile");
|
||||
if (lifecycle != null) {
|
||||
lifecycle.addObserver(pulseController);
|
||||
lifecycle.addObserver(lockScreenNotificationController);
|
||||
|
Reference in New Issue
Block a user