diff options
Diffstat (limited to 'src/com/android/settings/profiles/SetupDefaultProfileReceiver.java')
-rw-r--r-- | src/com/android/settings/profiles/SetupDefaultProfileReceiver.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/settings/profiles/SetupDefaultProfileReceiver.java b/src/com/android/settings/profiles/SetupDefaultProfileReceiver.java index ea43d18..4d82499 100644 --- a/src/com/android/settings/profiles/SetupDefaultProfileReceiver.java +++ b/src/com/android/settings/profiles/SetupDefaultProfileReceiver.java @@ -3,10 +3,10 @@ package com.android.settings.profiles; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; -import android.provider.Settings; import cyanogenmod.app.Profile; import cyanogenmod.app.ProfileManager; +import cyanogenmod.providers.CMSettings; import java.util.UUID; @@ -14,8 +14,8 @@ public class SetupDefaultProfileReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { - if (Settings.System.getInt(context.getContentResolver(), - Settings.System.SYSTEM_PROFILES_ENABLED, 1) == 1) { + if (CMSettings.System.getInt(context.getContentResolver(), + CMSettings.System.SYSTEM_PROFILES_ENABLED, 1) == 1) { ProfileManager profileManager = ProfileManager.getInstance(context); Profile defaultProfile = profileManager.getProfile( UUID.fromString("0230226d-0d05-494a-a9bd-d222a1117655")); |