summaryrefslogtreecommitdiff
path: root/platform/android/java/lib/src/org
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuyakou@gmail.com>2020-05-27 02:12:54 -0700
committerFredia Huya-Kouadio <fhuyakou@gmail.com>2020-05-27 02:13:52 -0700
commit75100e56442e56654c9fb4ca1780875bcce5ee4b (patch)
treeb2d233a641136aaa88f5623b57ebe46c1fdb1253 /platform/android/java/lib/src/org
parent84d9e10f88af3d4f43fe6739e4aedc937757eac2 (diff)
Provide the ability for clients of the Godot library to add their own command line arguments
Diffstat (limited to 'platform/android/java/lib/src/org')
-rw-r--r--platform/android/java/lib/src/org/godotengine/godot/Godot.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/android/java/lib/src/org/godotengine/godot/Godot.java b/platform/android/java/lib/src/org/godotengine/godot/Godot.java
index f27d8620ec..8ba9b0400f 100644
--- a/platform/android/java/lib/src/org/godotengine/godot/Godot.java
+++ b/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_");