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:
@@ -52,7 +52,7 @@ public class ChangeProfileScreenLockPreferenceController extends
|
||||
|
||||
public boolean isAvailable() {
|
||||
if (mProfileChallengeUserId == UserHandle.USER_NULL ||
|
||||
!mLockPatternUtils.isSeparateProfileChallengeAllowed(mProfileChallengeUserId)) {
|
||||
!mUm.isManagedProfile(mProfileChallengeUserId)) {
|
||||
return false;
|
||||
}
|
||||
if (!mLockPatternUtils.isSecure(mProfileChallengeUserId)) {
|
||||
|
||||
Reference in New Issue
Block a user