Eliminate useless 'isManagedProfile' utils method
This exists in UserManager now Change-Id: If35326a1fe0de3c7bfde842c5c170899dc5d819b
This commit is contained in:
@@ -73,7 +73,7 @@ public class ConfirmDeviceCredentialActivity extends Activity {
|
||||
Log.e(TAG, "Invalid intent extra", se);
|
||||
}
|
||||
}
|
||||
final boolean isManagedProfile = Utils.isManagedProfile(UserManager.get(this), userId);
|
||||
final boolean isManagedProfile = UserManager.get(this).isManagedProfile(userId);
|
||||
// if the client app did not hand in a title and we are about to show the work challenge,
|
||||
// check whether there is a policy setting the organization name and use that as title
|
||||
if ((title == null) && isManagedProfile) {
|
||||
|
Reference in New Issue
Block a user