fix: adbd controlStream (#36)

Co-authored-by: google-mirror <google-mirror@users.noreply.github.com>
This commit is contained in:
Deleted user
2026-07-07 18:20:45 +08:00
committed by GitHub
parent 6faf128ba7
commit c61522ae14

View File

@@ -1117,7 +1117,7 @@ class Scrcpy(
)
val controlWriter = controlStream?.let { stream ->
ControlWriter(DataOutputStream(stream.outputStream))
ControlWriter(DataOutputStream(BufferedOutputStream(stream.outputStream)))
}
val controlInput = controlStream?.let { stream ->
if (stream === firstStream) firstInput