diff options
| author | d34d <clark@cyngn.com> | 2015-02-05 10:39:40 -0800 |
|---|---|---|
| committer | Clark Scheff <clark@cyngn.com> | 2015-10-27 10:39:49 -0700 |
| commit | 7c5912d0af898691d87b72314dd04c01cff01b63 (patch) | |
| tree | 80dba808f7a71d967d64a8af3925628d37ad0a1e /core/java/android/widget | |
| parent | 857e433785e485ea0e7373a4ad716a2f2ddc953e (diff) | |
| download | frameworks_base-7c5912d0af898691d87b72314dd04c01cff01b63.zip frameworks_base-7c5912d0af898691d87b72314dd04c01cff01b63.tar.gz frameworks_base-7c5912d0af898691d87b72314dd04c01cff01b63.tar.bz2 | |
Themes: Pass themePackageName to createApplicationContext()
It would probably help if we actually made use of themePackageName
when getting a context for the resources used to inflate the remote
views.
Change-Id: I8782311715ec243486f96f04d019e0df844a337b
Diffstat (limited to 'core/java/android/widget')
| -rw-r--r-- | core/java/android/widget/RemoteViews.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/RemoteViews.java b/core/java/android/widget/RemoteViews.java index c4ca3b2..e9ae071 100644 --- a/core/java/android/widget/RemoteViews.java +++ b/core/java/android/widget/RemoteViews.java @@ -2819,7 +2819,7 @@ public class RemoteViews implements Parcelable, Filter { return context; } try { - return context.createApplicationContext(mApplication, + return context.createApplicationContext(mApplication, themePackageName, Context.CONTEXT_RESTRICTED); } catch (NameNotFoundException e) { Log.e(LOG_TAG, "Package name " + mApplication.packageName + " not found"); |
