Add a.a alias to BootSigner

This commit is contained in:
topjohnwu 2018-09-20 15:37:59 -04:00
parent 244e811291
commit 04bcd145d3
5 changed files with 17 additions and 5 deletions

View File

@ -9,7 +9,7 @@
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application
android:name="a.a"
android:name="a.q"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">

View File

@ -1,7 +1,10 @@
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 */
}

View File

@ -0,0 +1,7 @@
package a;
import com.topjohnwu.magisk.MagiskManager;
public class q extends MagiskManager {
/* stub */
}

View File

@ -72,7 +72,7 @@ public class Data {
public static int repoOrder;
static {
classMap.put(MagiskManager.class, a.a.class);
classMap.put(MagiskManager.class, a.q.class);
classMap.put(MainActivity.class, a.b.class);
classMap.put(SplashActivity.class, a.c.class);
classMap.put(AboutActivity.class, a.d.class);

View File

@ -19,7 +19,9 @@ $BOOTMODE || ps -A | grep zygote | grep -qv grep && BOOTMODE=true
[ -z $IMG ] && IMG=$NVBASE/magisk.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
setup_flashable() {