Minor tweaks

Signed-off-by: androidacy-user <opensource@androidacy.com>
pull/27/head
androidacy-user 3 years ago
parent 4209653655
commit f75e78764d

@ -8,9 +8,9 @@
# If your project uses WebView with JS, uncomment the following # If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface # and specify the fully qualified class name to the JavaScript interface
# class: # class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -keepclassmembers class com.fox2code.mmm.androidacy.AndroidacyWebAPI {
# public *; public *;
#} }
# Uncomment this to preserve the line number information for # Uncomment this to preserve the line number information for
# debugging stack traces. # debugging stack traces.

@ -395,10 +395,12 @@ public class InstallerActivity extends FoxActivity {
installerController.useRecoveryExt(); installerController.useRecoveryExt();
} else if (needs32bit || (compatFlags & AppUpdateManager.FLAG_COMPAT_NO_EXT) == 0) { } else if (needs32bit || (compatFlags & AppUpdateManager.FLAG_COMPAT_NO_EXT) == 0) {
// Restore Magisk legacy stuff for retro compatibility // Restore Magisk legacy stuff for retro compatibility
if (Build.SUPPORTED_32_BIT_ABIS[0].contains("arm")) if (Build.SUPPORTED_32_BIT_ABIS.length > 0) {
arch32 = "export ARCH32=arm"; if (Build.SUPPORTED_32_BIT_ABIS[0].contains("arm"))
if (Build.SUPPORTED_32_BIT_ABIS[0].contains("x86")) arch32 = "export ARCH32=arm";
arch32 = "export ARCH32=x86"; if (Build.SUPPORTED_32_BIT_ABIS[0].contains("x86"))
arch32 = "export ARCH32=x86";
}
} }
String installCommand; String installCommand;
File installExecutable; File installExecutable;

Loading…
Cancel
Save