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

This commit is contained in:
Fredia Huya-Kouadio 2020-05-27 02:12:54 -07:00
parent 757d8b5672
commit 06b7f611f8

View file

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