You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Copy APK from external storage in stub
Much faster and easier development
This commit is contained in:
@@ -12,17 +12,12 @@ import io.michaelrocks.paranoid.Obfuscate;
|
||||
@Obfuscate
|
||||
public class DelegateApplication extends Application {
|
||||
|
||||
static boolean dynLoad = false;
|
||||
|
||||
private Application receiver;
|
||||
|
||||
@Override
|
||||
protected void attachBaseContext(Context base) {
|
||||
super.attachBaseContext(base);
|
||||
|
||||
// Only dynamic load full APK if hidden
|
||||
dynLoad = !base.getPackageName().equals(BuildConfig.APPLICATION_ID);
|
||||
|
||||
receiver = InjectAPK.setup(this);
|
||||
if (receiver != null) try {
|
||||
// Call attachBaseContext without ContextImpl to show it is being wrapped
|
||||
|
||||
Reference in New Issue
Block a user