Override device lock pattern visibility when unifying
Set to match Work profile pattern visibility when the user chooses to use the same lock in Settings. Bug: 27733223 Change-Id: I78be99d226ba906d124421ecf412178642128143
This commit is contained in:
@@ -692,6 +692,9 @@ public class SecuritySettings extends SettingsPreferenceFragment
|
||||
mCurrentProfilePassword, mCurrentDevicePassword,
|
||||
profileQuality, MY_USER_ID);
|
||||
}
|
||||
final boolean profilePatternVisibility =
|
||||
mLockPatternUtils.isVisiblePatternEnabled(mProfileChallengeUserId);
|
||||
mLockPatternUtils.setVisiblePatternEnabled(profilePatternVisibility, MY_USER_ID);
|
||||
mCurrentDevicePassword = null;
|
||||
mCurrentProfilePassword = null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user