summaryrefslogtreecommitdiff
path: root/platform/android/java/lib/src
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-05-27 11:47:42 +0200
committerGitHub <noreply@github.com>2020-05-27 11:47:42 +0200
commita5a7f5f73e803d444303e7e077354abd3bdf41f7 (patch)
treeb2d233a641136aaa88f5623b57ebe46c1fdb1253 /platform/android/java/lib/src
parent84d9e10f88af3d4f43fe6739e4aedc937757eac2 (diff)
parent75100e56442e56654c9fb4ca1780875bcce5ee4b (diff)
Merge pull request #39077 from m4gr3d/override_command_line_args
Provide the ability to override the command line arguments
Diffstat (limited to 'platform/android/java/lib/src')
-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_");