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

Commit dc8f2b66 authored by Andreas Gampe's avatar Andreas Gampe Committed by android-build-merger
Browse files

Installer: Support delete_odex command

am: e5fedb95

Change-Id: Ia8258183d1646c583047df8dc386da1d291d930b
parents deb8a4a6 e5fedb95
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -230,6 +230,11 @@ public final class Installer extends SystemService {
        mInstaller.execute("move_ab", apkPath, instructionSet, outputPath);
    }

    public void deleteOdex(String apkPath, String instructionSet, String outputPath)
            throws InstallerException {
        mInstaller.execute("delete_odex", apkPath, instructionSet, outputPath);
    }

    private static void assertValidInstructionSet(String instructionSet)
            throws InstallerException {
        for (String abi : Build.SUPPORTED_ABIS) {