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. Merged-In: I779590e34c1eca2dab5b62dda473cfa4371fc064 Change-Id: I5966d82f6373b3bf784385423b87fb4d26aecf0e Fix: 62051309 Fix: 62045663 Test: make RunSettingsRoboTests
This commit is contained in:
@@ -65,7 +65,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