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:
@@ -107,7 +107,7 @@ public class LockUnificationPreferenceController extends AbstractPreferenceContr
|
||||
@Override
|
||||
public boolean isAvailable() {
|
||||
return mProfileUserId != UserHandle.USER_NULL
|
||||
&& mLockPatternUtils.isSeparateProfileChallengeAllowed(mProfileUserId);
|
||||
&& mUm.isManagedProfile(mProfileUserId);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user