Merge "Correctly unlock storage for work profiles with unified challenge" into main
This commit is contained in:
@@ -278,7 +278,8 @@ public class ConfirmDeviceCredentialActivity extends FragmentActivity {
|
|||||||
.setRequestWriteRepairModePassword(true)
|
.setRequestWriteRepairModePassword(true)
|
||||||
.setForceVerifyPath(true)
|
.setForceVerifyPath(true)
|
||||||
.show();
|
.show();
|
||||||
} else if (isEffectiveUserManagedProfile && isInternalActivity()) {
|
} else if (mLockPatternUtils.isManagedProfileWithUnifiedChallenge(mUserId)
|
||||||
|
&& isInternalActivity()) {
|
||||||
// When the mForceVerifyPath is set to true, we launch the real confirm credential
|
// When the mForceVerifyPath is set to true, we launch the real confirm credential
|
||||||
// activity with an explicit but fake challenge value (0L). This will result in
|
// activity with an explicit but fake challenge value (0L). This will result in
|
||||||
// ConfirmLockPassword calling verifyTiedProfileChallenge() (if it's a profile with
|
// ConfirmLockPassword calling verifyTiedProfileChallenge() (if it's a profile with
|
||||||
|
|||||||
Reference in New Issue
Block a user