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

Commit d8e7d826 authored by Santiago Etchebehere's avatar Santiago Etchebehere Committed by android-build-merger
Browse files

Only read Themes Stub from system

am: 8ae0fc78

Change-Id: If9d0a830b9e3f315d4288656d7233e205b220de7
parents e06c4c86 8ae0fc78
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -25,8 +25,8 @@ public abstract class ResourcesApkProvider {
            Resources apkResources = null;
            try {
                PackageManager pm = mContext.getPackageManager();
                ApplicationInfo stubAppInfo = pm.getApplicationInfo(
                        mStubPackageName, PackageManager.GET_META_DATA);
                ApplicationInfo stubAppInfo = pm.getApplicationInfo(mStubPackageName,
                        PackageManager.GET_META_DATA | PackageManager.MATCH_SYSTEM_ONLY);
                if (stubAppInfo != null) {
                    apkResources = pm.getResourcesForApplication(stubAppInfo);
                }