Make Lockscreen Notification Content work for profiles
The settings for the Notification Content is user-dependent and the correct values are used in the lock screen. Bug: 26709332 Change-Id: I7acf94014771dacc2841da336bed645fdb948541
This commit is contained in:
@@ -192,7 +192,7 @@ public class ConfigureNotificationSettings extends SettingsPreferenceFragment {
|
||||
private void setRestrictedIfNotificationFeaturesDisabled(CharSequence entry,
|
||||
CharSequence entryValue, int keyguardNotificationFeatures) {
|
||||
EnforcedAdmin admin = RestrictedLockUtils.checkIfKeyguardFeaturesDisabled(
|
||||
mContext, keyguardNotificationFeatures);
|
||||
mContext, keyguardNotificationFeatures, UserHandle.myUserId());
|
||||
if (admin != null) {
|
||||
RestrictedItem item = new RestrictedItem(entry, entryValue, admin);
|
||||
mLockscreen.addRestrictedItem(item);
|
||||
|
Reference in New Issue
Block a user