[JRE test] disable arg test

This commit is contained in:
khanhduytran0 2020-11-06 16:00:27 +07:00
parent 7a0e4efcec
commit f5a5a63405

View File

@ -990,10 +990,11 @@ public class MainActivity extends LoggableActivity implements OnTouchListener, O
} }
private void checkJavaArgsIsLaunchable(String jreVersion) throws Throwable { private void checkJavaArgsIsLaunchable(String jreVersion) throws Throwable {
if (jreVersion.equals("1.9.0")) return;
appendlnToLog("Info: Custom Java arguments: \"" + LauncherPreferences.PREF_CUSTOM_JAVA_ARGS + "\""); appendlnToLog("Info: Custom Java arguments: \"" + LauncherPreferences.PREF_CUSTOM_JAVA_ARGS + "\"");
if (jreVersion.equals("1.9.0")) return;
/*
// Test java // Test java
ShellProcessOperation shell = new ShellProcessOperation(new ShellProcessOperation.OnPrintListener(){ ShellProcessOperation shell = new ShellProcessOperation(new ShellProcessOperation.OnPrintListener(){
@Override @Override
@ -1021,6 +1022,7 @@ public class MainActivity extends LoggableActivity implements OnTouchListener, O
appendlnToLog("Error: the test returned non-zero exit code."); appendlnToLog("Error: the test returned non-zero exit code.");
// throw new RuntimeException(getString(R.string.mcn_check_fail_java)); // throw new RuntimeException(getString(R.string.mcn_check_fail_java));
} }
*/
} }
private void checkLWJGL3Installed() { private void checkLWJGL3Installed() {