diff options
-rw-r--r-- | res/values/strings.xml | 2 | ||||
-rw-r--r-- | src/org/cyanogenmod/profiles/ProfilePickerActivity.java | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 9c77f2c..b05d227 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -16,6 +16,8 @@ --> <resources> <string name="app_label">Profiles Trust Provider</string> + <string name="profile_picker_title">Profiles</string> + <string name="profile_none">None</string> <string name="profile_trust_agent_title">Profiles Trust Agent</string> <string name="profile_trust_agent_summary">Allows Profiles to temporarily disable lock screen protection</string> <string name="trust_by_profile">Trusted by Profile</string> diff --git a/src/org/cyanogenmod/profiles/ProfilePickerActivity.java b/src/org/cyanogenmod/profiles/ProfilePickerActivity.java index cab37ff..6770ad9 100644 --- a/src/org/cyanogenmod/profiles/ProfilePickerActivity.java +++ b/src/org/cyanogenmod/profiles/ProfilePickerActivity.java @@ -142,7 +142,7 @@ public final class ProfilePickerActivity extends AlertActivity implements p.mTitle = intent.getCharSequenceExtra(ProfileManager.EXTRA_PROFILE_TITLE); if (p.mTitle == null) { - p.mTitle = getString(com.android.internal.R.string.profile_picker_title); + p.mTitle = getString(R.string.profile_picker_title); } setupAlert(); @@ -204,7 +204,7 @@ public final class ProfilePickerActivity extends AlertActivity implements } private int addNoneItem(ListView listView) { - return addStaticItem(listView, com.android.internal.R.string.profile_none); + return addStaticItem(listView, R.string.profile_none); } /* |