Eliminate useless 'isManagedProfile' utils method
This exists in UserManager now Change-Id: If35326a1fe0de3c7bfde842c5c170899dc5d819b
This commit is contained in:
@@ -850,7 +850,7 @@ public class InstalledAppDetails extends AppInfoBase
|
||||
}
|
||||
|
||||
private void addDynamicPrefs() {
|
||||
if (Utils.isManagedProfile(UserManager.get(getContext()))) {
|
||||
if (UserManager.get(getContext()).isManagedProfile()) {
|
||||
return;
|
||||
}
|
||||
final PreferenceScreen screen = getPreferenceScreen();
|
||||
|
Reference in New Issue
Block a user