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

Commit 7af9adf8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fail early if we fail to parse frameworks-res.apk."

parents b69db671 46d13cce
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2591,6 +2591,10 @@ public class PackageManagerService extends IPackageManager.Stub
                    | SCAN_AS_SYSTEM
                    | SCAN_AS_PRIVILEGED,
                    0);
            if (!mPackages.containsKey("android")) {
                throw new IllegalStateException(
                        "Failed to load frameworks package; check log for warnings");
            }
            // Collected privileged system packages.
            final File privilegedAppDir = new File(Environment.getRootDirectory(), "priv-app");