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

Commit f583d453 authored by Patrick Baumann's avatar Patrick Baumann Committed by Automerger Merge Worker
Browse files

RESTRICT AUTOMERGE Handling removing <original-package> tag am: 552bf38f

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13922161

Change-Id: I07979cab182817b333b187718b91897cc7e4c7d5
parents ba7a1d32 552bf38f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3668,8 +3668,6 @@ public class PackageManagerService extends IPackageManager.Stub
        PackageParser.readConfigUseRoundIcon(mContext.getResources());
        mServiceStartWithDelay = SystemClock.uptimeMillis() + (60 * 1000L);
        Slog.i(TAG, "Fix for b/169414761 is applied");
    }
    /**
+13 −0
Original line number Diff line number Diff line
@@ -169,6 +169,8 @@ class PackageManagerShellCommand extends ShellCommand {
            switch (cmd) {
                case "path":
                    return runPath();
                case "validate":
                    return runValidate();
                case "dump":
                    return runDump();
                case "list":
@@ -323,6 +325,17 @@ class PackageManagerShellCommand extends ShellCommand {
        return -1;
    }

    private int runValidate() {
        final PrintWriter pw = getOutPrintWriter();
        String identifier = getNextArgRequired();
        if ("169414761".equals(identifier)) {
            pw.println("applied");
        } else {
            pw.println("missing");
        }
        return 0;
    }

    /**
     * Shows module info
     *