Skip to content

Commit

Permalink
Merge pull request #84102 from MTareqAzim/fix-android-immersive-mode
Browse files Browse the repository at this point in the history
Fix retrieving command line flags in Android.
  • Loading branch information
akien-mga committed Oct 28, 2023
2 parents b096174 + ee31f24 commit fd49c42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd49c42

Please sign in to comment.