fix: adbd controlStream (#36)
Co-authored-by: google-mirror <google-mirror@users.noreply.github.com>
This commit is contained in:
@@ -1117,7 +1117,7 @@ class Scrcpy(
|
|||||||
)
|
)
|
||||||
|
|
||||||
val controlWriter = controlStream?.let { stream ->
|
val controlWriter = controlStream?.let { stream ->
|
||||||
ControlWriter(DataOutputStream(stream.outputStream))
|
ControlWriter(DataOutputStream(BufferedOutputStream(stream.outputStream)))
|
||||||
}
|
}
|
||||||
val controlInput = controlStream?.let { stream ->
|
val controlInput = controlStream?.let { stream ->
|
||||||
if (stream === firstStream) firstInput
|
if (stream === firstStream) firstInput
|
||||||
|
|||||||
Reference in New Issue
Block a user