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

Commit 30f4e29d authored by Luca Stefani's avatar Luca Stefani Committed by Michael Bestas
Browse files

AssetManager: Mark lineage res as system

Another case of "How did it ever work before?"

Change-Id: I06e800170c51afd1e5575cc0b3b381e5fbceee3d
parent e80087d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -246,7 +246,7 @@ public final class AssetManager implements AutoCloseable {
            for (String idmapPath : systemIdmapPaths) {
                apkAssets.add(ApkAssets.loadOverlayFromPath(idmapPath, ApkAssets.PROPERTY_SYSTEM));
            }
            apkAssets.add(ApkAssets.loadFromPath(LINEAGE_APK_PATH, 0));
            apkAssets.add(ApkAssets.loadFromPath(LINEAGE_APK_PATH, ApkAssets.PROPERTY_SYSTEM));

            sSystemApkAssetsSet = new ArraySet<>(apkAssets);
            sSystemApkAssets = apkAssets.toArray(new ApkAssets[apkAssets.size()]);