Browse Source

Provide the ability for clients of the Godot library to add their own command line arguments

Fredia Huya-Kouadio 5 years ago
parent
commit
75100e5644
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_");