From d2e2847b03dea12f93fb8e5b8c72aacf877a9e09 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Tue, 23 Feb 2021 03:24:51 -0800 Subject: [PATCH] Fix stub --- stub/proguard-rules.pro | 1 + stub/src/main/java/com/topjohnwu/magisk/DownloadActivity.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/stub/proguard-rules.pro b/stub/proguard-rules.pro index 0fb933050..f352d3fa9 100644 --- a/stub/proguard-rules.pro +++ b/stub/proguard-rules.pro @@ -25,3 +25,4 @@ -allowaccessmodification -keepclassmembers class com.topjohnwu.magisk.dummy.* { (); } -keepclassmembers class com.topjohnwu.magisk.DownloadActivity { (); } +-keepclassmembers class com.topjohnwu.magisk.FileProvider { (); } diff --git a/stub/src/main/java/com/topjohnwu/magisk/DownloadActivity.java b/stub/src/main/java/com/topjohnwu/magisk/DownloadActivity.java index de5421ab5..371499e43 100644 --- a/stub/src/main/java/com/topjohnwu/magisk/DownloadActivity.java +++ b/stub/src/main/java/com/topjohnwu/magisk/DownloadActivity.java @@ -30,7 +30,7 @@ import static com.topjohnwu.magisk.R.string.upgrade_msg; public class DownloadActivity extends Activity { - private static final String APP_NAME = "Magisk Manager"; + private static final String APP_NAME = "Magisk"; private static final String CDN_URL = "https://cdn.jsdelivr.net/gh/topjohnwu/magisk_files@%s/%s"; private String apkLink;