This commit is contained in:
Duy Tran Khanh
2021-06-12 06:06:07 +07:00
committed by GitHub
parent adb4161542
commit 6987fafd1a

View File

@@ -177,9 +177,9 @@ public class JREUtils
Log.i("jrelog-logcat","Logcat thread started");
}
public static void relocateLibPath(final LoggableActivity ctx) throws Exception {
public static void relocateLibPath(final Context ctx) throws Exception {
if (JRE_ARCHITECTURE == null) {
JRE_ARCHITECTURE = ctx.jreReleaseList.get("OS_ARCH");
JRE_ARCHITECTURE = readJREReleaseProperties().get("OS_ARCH");
if (JRE_ARCHITECTURE.startsWith("i") && JRE_ARCHITECTURE.endsWith("86") && Tools.CURRENT_ARCHITECTURE.contains("x86") && !Tools.CURRENT_ARCHITECTURE.contains("64")) {
JRE_ARCHITECTURE = "i386/i486/i586";
}