Merge "Cleanup in EmulatorClipboardMonitor (1)" into tm-dev am: 5a68801f65 am: 521ba06c9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18360035 Change-Id: Iad03811dba0bcb96eb1cecb44adf6b4c08bfb1c3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -72,7 +72,7 @@ class EmulatorClipboardMonitor implements Consumer<ClipData> {
|
||||
Os.connect(fd, new VmSocketAddress(HOST_PORT, OsConstants.VMADDR_CID_HOST));
|
||||
|
||||
final byte[] handshake = createOpenHandshake();
|
||||
Os.write(fd, handshake, 0, handshake.length);
|
||||
writeFully(fd, handshake, 0, handshake.length);
|
||||
mPipe = fd;
|
||||
return true;
|
||||
} catch (ErrnoException | SocketException | InterruptedIOException e) {
|
||||
|
||||
Reference in New Issue
Block a user