CMSDK: Introduce factored out resources from framework.

Change-Id: I4193db99f3f883260354cde98366f94c608f6163
This commit is contained in:
Adnan Begovic
2015-07-06 11:52:53 -07:00
parent 1ba6ee279a
commit 6e46829eb7
7 changed files with 93 additions and 4 deletions

View File

@@ -703,7 +703,8 @@ public final class Profile implements Parcelable, Comparable {
String profileName = null;
if (value != null) {
profileNameResId = context.getResources().getIdentifier(value, "string", "android");
profileNameResId = context.getResources().getIdentifier(value, "string",
"cyanogenmod.platform");
if (profileNameResId > 0) {
profileName = context.getResources().getString(profileNameResId);
}