Installer: Support delete_odex command

am: 33c592da0c

Change-Id: I838156fea13224677d243097b35ba8229b5c52fe
This commit is contained in:
Andreas Gampe
2016-09-29 00:17:30 +00:00
committed by android-build-merger

View File

@@ -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) {