Merge pull request #84102 from MTareqAzim/fix-android-immersive-mode

Fix retrieving command line flags in Android.
This commit is contained in:
Rémi Verschelde 2023-10-28 18:35:45 +02:00
commit fd49c428a3
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -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