fix CC for work profiles
Bug: 22257554 Change-Id: I09f62956d01f91d3014d9fa250aaff68ab5e1a9b
This commit is contained in:
@@ -118,7 +118,10 @@ public final class ChooseLockSettingsHelper {
|
||||
boolean returnCredentials, boolean external, boolean hasChallenge,
|
||||
long challenge) {
|
||||
boolean launched = false;
|
||||
switch (mLockPatternUtils.getKeyguardStoredPasswordQuality(UserHandle.myUserId())) {
|
||||
|
||||
int effectiveUserId = Utils.getEffectiveUserId(mActivity);
|
||||
|
||||
switch (mLockPatternUtils.getKeyguardStoredPasswordQuality(effectiveUserId)) {
|
||||
case DevicePolicyManager.PASSWORD_QUALITY_SOMETHING:
|
||||
launched = launchConfirmationActivity(request, title, header, description,
|
||||
returnCredentials || hasChallenge
|
||||
|
Reference in New Issue
Block a user