Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c5912d0 authored by d34d's avatar d34d Committed by Clark Scheff
Browse files

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
parent 857e4337
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");