Browse Source

Merge pull request #39077 from m4gr3d/override_command_line_args

Provide the ability to override the command line arguments
Rémi Verschelde 5 years ago
parent
commit
a5a7f5f73e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      platform/android/java/lib/src/org/godotengine/godot/Godot.java

+ 2 - 1
platform/android/java/lib/src/org/godotengine/godot/Godot.java

@@ -345,7 +345,8 @@ public abstract class Godot extends FragmentActivity implements SensorEventListe
 		return deviceInfo.reqGlEsVersion;
 	}
 
-	private String[] getCommandLine() {
+	@CallSuper
+	protected String[] getCommandLine() {
 		InputStream is;
 		try {
 			is = getAssets().open("_cl_");