summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/profiles')
-rw-r--r--src/com/android/settings/profiles/AppGroupConfig.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/profiles/AppGroupConfig.java b/src/com/android/settings/profiles/AppGroupConfig.java
index a34f180..82e0d83 100644
--- a/src/com/android/settings/profiles/AppGroupConfig.java
+++ b/src/com/android/settings/profiles/AppGroupConfig.java
@@ -81,7 +81,7 @@ public class AppGroupConfig extends SettingsPreferenceFragment
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
- mProfileManager = (ProfileManager) getActivity().getSystemService(PROFILE_SERVICE);
+ mProfileManager = ProfileManager.getInstance(getActivity());
addPreferencesFromResource(R.xml.application_list);
final Bundle args = getArguments();