浏览代码

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

Fredia Huya-Kouadio 5 年之前
父节点
当前提交
75100e5644
共有 1 个文件被更改,包括 2 次插入1 次删除
  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_");