Merge "Remove refs of isSeparateProfileChallengeAllowed"

This commit is contained in:
Ayush Sharma
2021-08-13 15:49:11 +00:00
committed by Android (Google) Code Review
10 changed files with 14 additions and 56 deletions

View File

@@ -39,7 +39,7 @@ public class BiometricFaceProfileStatusPreferenceController extends
@Override
protected boolean isUserSupported() {
return mProfileChallengeUserId != UserHandle.USER_NULL
&& mLockPatternUtils.isSeparateProfileChallengeAllowed(mProfileChallengeUserId);
&& mUm.isManagedProfile(mProfileChallengeUserId);
}
@Override