diff options
Diffstat (limited to 'src/com/android/settings/profiles/ProfilesUtils.java')
-rw-r--r-- | src/com/android/settings/profiles/ProfilesUtils.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/settings/profiles/ProfilesUtils.java b/src/com/android/settings/profiles/ProfilesUtils.java index 4f59dd9..03e9d33 100644 --- a/src/com/android/settings/profiles/ProfilesUtils.java +++ b/src/com/android/settings/profiles/ProfilesUtils.java @@ -18,6 +18,8 @@ import android.provider.Settings; import android.telephony.TelephonyManager; import android.text.TextUtils; +import cyanogenmod.providers.CMSettings; + import com.android.internal.telephony.PhoneConstants; public class ProfilesUtils { @@ -41,7 +43,7 @@ public class ProfilesUtils { } public static boolean systemProfilesEnabled(ContentResolver resolver) { - return (Settings.System.getInt(resolver, Settings.System.SYSTEM_PROFILES_ENABLED, 1) == 1); + return (CMSettings.System.getInt(resolver, CMSettings.System.SYSTEM_PROFILES_ENABLED, 1) == 1); } public static boolean deviceSupportsNfc(Context ctx) { |