Merge "Do not set separate challenge flag before clearing lock" into pi-dev
am: a9fea25929
Change-Id: Ifc079c0aa27867e9dde1c3b9b406944875330256
This commit is contained in:
@@ -654,7 +654,6 @@ public class ChooseLockGeneric extends SettingsActivity {
|
||||
}
|
||||
|
||||
if (quality == DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED) {
|
||||
mLockPatternUtils.setSeparateProfileChallengeEnabled(mUserId, true, mUserPassword);
|
||||
mChooseLockSettingsHelper.utils().clearLock(mUserPassword, mUserId);
|
||||
mChooseLockSettingsHelper.utils().setLockScreenDisabled(disabled, mUserId);
|
||||
getActivity().setResult(Activity.RESULT_OK);
|
||||
|
Reference in New Issue
Block a user