Remove refs of isSeparateProfileChallengeAllowed

Remove this API usage as this API is being removed from DPMS.

Bug: 189502721
Test: N/A
Change-Id: I395a48cd78c8fb93bfd54c94794de5a680ba6f5d
This commit is contained in:
“Ayush
2021-07-26 15:16:03 +00:00
parent e421a7265d
commit 41873bd7a4
10 changed files with 14 additions and 56 deletions

View File

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