diff options
Diffstat (limited to 'src/com/android/settings/profiles/NFCProfile.java')
-rw-r--r-- | src/com/android/settings/profiles/NFCProfile.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/com/android/settings/profiles/NFCProfile.java b/src/com/android/settings/profiles/NFCProfile.java index a6e2334..b4bfe8c 100644 --- a/src/com/android/settings/profiles/NFCProfile.java +++ b/src/com/android/settings/profiles/NFCProfile.java @@ -19,8 +19,6 @@ package com.android.settings.profiles; import java.util.UUID; import android.app.Activity; -import android.app.Profile; -import android.app.ProfileManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; @@ -32,6 +30,9 @@ import android.os.Parcelable; import android.provider.Settings; import android.widget.Toast; +import cyanogenmod.app.Profile; +import cyanogenmod.app.ProfileManager; + import com.android.settings.R; /** @@ -53,7 +54,7 @@ public class NFCProfile extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - mProfileManager = (ProfileManager) getSystemService(Context.PROFILE_SERVICE); + mProfileManager = ProfileManager.getInstance(this); } @Override |