Refactor PatchAPK code

This commit is contained in:
topjohnwu
2020-01-31 03:37:39 +08:00
parent 2eed09ef1b
commit e938e717b0
4 changed files with 48 additions and 99 deletions

View File

@@ -1,19 +1,9 @@
package a;
import com.topjohnwu.magisk.core.utils.PatchAPK;
import com.topjohnwu.signing.BootSigner;
public class a {
@Deprecated
public static boolean patchAPK(String in, String out, String pkg) {
return PatchAPK.patch(in, out, pkg);
}
public static boolean patchAPK(String in, String out, String pkg, String label) {
return PatchAPK.patch(in, out, pkg, label);
}
public static void main(String[] args) throws Exception {
BootSigner.main(args);
}