diff options
author | Adnan Begovic <adnan@cyngn.com> | 2015-06-25 12:53:50 -0700 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-26 16:12:36 -0700 |
commit | 28f65a49c84d32fd67c638d72276043ed3165822 (patch) | |
tree | 89090c766bec6cba13512091127a63fe13306c70 /src/com/android/settings/profiles/NFCProfile.java | |
parent | b23be8fc9e25d18f69289aba5896d42d8a68a591 (diff) | |
download | packages_apps_Settings-28f65a49c84d32fd67c638d72276043ed3165822.zip packages_apps_Settings-28f65a49c84d32fd67c638d72276043ed3165822.tar.gz packages_apps_Settings-28f65a49c84d32fd67c638d72276043ed3165822.tar.bz2 |
Settings: Refactor to point at Profiles in CMSDK.
Change-Id: I589dd372a58d8aca0f804e419992c28188d5380c
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 |