From 636479b15bd954ab7f6633a542df115ef128df7e Mon Sep 17 00:00:00 2001 From: vvb2060 Date: Tue, 25 Jan 2022 02:37:32 +0800 Subject: [PATCH] Fix dynLoad --- stub/src/main/java/com/topjohnwu/magisk/DownloadActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stub/src/main/java/com/topjohnwu/magisk/DownloadActivity.java b/stub/src/main/java/com/topjohnwu/magisk/DownloadActivity.java index 17d59b197..afbe535aa 100644 --- a/stub/src/main/java/com/topjohnwu/magisk/DownloadActivity.java +++ b/stub/src/main/java/com/topjohnwu/magisk/DownloadActivity.java @@ -54,7 +54,7 @@ public class DownloadActivity extends Activity { themed = new ContextThemeWrapper(this, android.R.style.Theme_DeviceDefault); // Only download and dynamic load full APK if hidden - dynLoad = getPackageName().equals(BuildConfig.APPLICATION_ID); + dynLoad = !getPackageName().equals(BuildConfig.APPLICATION_ID); // Inject resources loadResources();