mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-25 02:55:33 +00:00
78daa2eb62
This not only simplifies hiding stub APKs (no resource IDs involved), but also opens the opportunity to allow users to customize whatever app name they want after it is hidden.
23 lines
577 B
Java
23 lines
577 B
Java
package a;
|
|
|
|
import androidx.core.app.AppComponentFactory;
|
|
|
|
import com.topjohnwu.magisk.utils.PatchAPK;
|
|
import com.topjohnwu.signing.BootSigner;
|
|
|
|
public class a extends AppComponentFactory {
|
|
|
|
@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);
|
|
}
|
|
}
|