From 2968a1559efa120225a77843e7cfb68722e2341b Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Mon, 30 Mar 2020 04:41:54 -0700 Subject: [PATCH] Get rid of the final Java file in app --- app/src/main/java/a/a.java | 10 ---------- app/src/main/java/a/stubs.kt | 6 ++++++ 2 files changed, 6 insertions(+), 10 deletions(-) delete mode 100644 app/src/main/java/a/a.java diff --git a/app/src/main/java/a/a.java b/app/src/main/java/a/a.java deleted file mode 100644 index 6cc1df4d4..000000000 --- a/app/src/main/java/a/a.java +++ /dev/null @@ -1,10 +0,0 @@ -package a; - -import com.topjohnwu.signing.BootSigner; - -public class a { - - public static void main(String[] args) throws Exception { - BootSigner.main(args); - } -} diff --git a/app/src/main/java/a/stubs.kt b/app/src/main/java/a/stubs.kt index b6d5771c6..9ea20cf05 100644 --- a/app/src/main/java/a/stubs.kt +++ b/app/src/main/java/a/stubs.kt @@ -1,3 +1,4 @@ +@file:JvmName("a") package a import com.topjohnwu.magisk.ProcessPhoenix @@ -7,6 +8,11 @@ import com.topjohnwu.magisk.core.SplashActivity import com.topjohnwu.magisk.core.download.DownloadService import com.topjohnwu.magisk.legacy.surequest.SuRequestActivity import com.topjohnwu.magisk.ui.MainActivity +import com.topjohnwu.signing.BootSigner + +fun main(args: Array) { + BootSigner.main(args) +} class b : MainActivity()