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

Commit 01dc8846 authored by d34d's avatar d34d
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 9b762928
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2602,7 +2602,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");