Eliminate useless 'isManagedProfile' utils method
This exists in UserManager now Change-Id: If35326a1fe0de3c7bfde842c5c170899dc5d819b
This commit is contained in:
@@ -248,7 +248,7 @@ public class AccountSettings extends SettingsPreferenceFragment
|
||||
// Load the preferences from an XML resource
|
||||
addPreferencesFromResource(R.xml.account_settings);
|
||||
|
||||
if (Utils.isManagedProfile(mUm)) {
|
||||
if (mUm.isManagedProfile()) {
|
||||
// This should not happen
|
||||
Log.e(TAG, "We should not be showing settings for a managed profile");
|
||||
finish();
|
||||
|
Reference in New Issue
Block a user