Commit 04bcd145 authored by topjohnwu's avatar topjohnwu

Add a.a alias to BootSigner

parent 244e8112
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission android:name="android.permission.WAKE_LOCK" />
<application <application
android:name="a.a" android:name="a.q"
android:theme="@style/AppTheme" android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning"> tools:ignore="GoogleAppIndexingWarning">
......
package a; package a;
import com.topjohnwu.magisk.MagiskManager; import com.topjohnwu.magisk.utils.BootSigner;
public class a extends MagiskManager { import androidx.annotation.Keep;
@Keep
public class a extends BootSigner {
/* stub */ /* stub */
} }
package a;
import com.topjohnwu.magisk.MagiskManager;
public class q extends MagiskManager {
/* stub */
}
...@@ -72,7 +72,7 @@ public class Data { ...@@ -72,7 +72,7 @@ public class Data {
public static int repoOrder; public static int repoOrder;
static { static {
classMap.put(MagiskManager.class, a.a.class); classMap.put(MagiskManager.class, a.q.class);
classMap.put(MainActivity.class, a.b.class); classMap.put(MainActivity.class, a.b.class);
classMap.put(SplashActivity.class, a.c.class); classMap.put(SplashActivity.class, a.c.class);
classMap.put(AboutActivity.class, a.d.class); classMap.put(AboutActivity.class, a.d.class);
......
...@@ -19,7 +19,9 @@ $BOOTMODE || ps -A | grep zygote | grep -qv grep && BOOTMODE=true ...@@ -19,7 +19,9 @@ $BOOTMODE || ps -A | grep zygote | grep -qv grep && BOOTMODE=true
[ -z $IMG ] && IMG=$NVBASE/magisk.img [ -z $IMG ] && IMG=$NVBASE/magisk.img
[ -z $MOUNTPATH ] && MOUNTPATH=/sbin/.core/img [ -z $MOUNTPATH ] && MOUNTPATH=/sbin/.core/img
BOOTSIGNER="/system/bin/dalvikvm -Xnodex2oat -Xnoimage-dex2oat -cp \$APK com.topjohnwu.magisk.utils.BootSigner" # Bootsigner related stuff
BOOTSIGNERCLASS=a.a
BOOTSIGNER="/system/bin/dalvikvm -Xnodex2oat -Xnoimage-dex2oat -cp \$APK \$BOOTSIGNERCLASS"
BOOTSIGNED=false BOOTSIGNED=false
setup_flashable() { setup_flashable() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment