Merge pull request #84102 from MTareqAzim/fix-android-immersive-mode
Fix retrieving command line flags in Android.
This commit is contained in:
commit
fd49c428a3
|
@ -906,7 +906,7 @@ class Godot(private val context: Context) : SensorEventListener {
|
|||
val arg = ByteArray(strlen)
|
||||
r = inputStream.read(arg)
|
||||
if (r == strlen) {
|
||||
cmdline[i] = String(arg, StandardCharsets.UTF_8)
|
||||
cmdline.add(String(arg, StandardCharsets.UTF_8))
|
||||
}
|
||||
}
|
||||
cmdline
|
||||
|
|
Loading…
Reference in New Issue