Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 521ba06c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Cleanup in EmulatorClipboardMonitor (1)" into tm-dev am: 5a68801f

parents 78fc05ca 5a68801f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -72,7 +72,7 @@ class EmulatorClipboardMonitor implements Consumer<ClipData> {
                Os.connect(fd, new VmSocketAddress(HOST_PORT, OsConstants.VMADDR_CID_HOST));
                Os.connect(fd, new VmSocketAddress(HOST_PORT, OsConstants.VMADDR_CID_HOST));


                final byte[] handshake = createOpenHandshake();
                final byte[] handshake = createOpenHandshake();
                Os.write(fd, handshake, 0, handshake.length);
                writeFully(fd, handshake, 0, handshake.length);
                mPipe = fd;
                mPipe = fd;
                return true;
                return true;
            } catch (ErrnoException | SocketException | InterruptedIOException e) {
            } catch (ErrnoException | SocketException | InterruptedIOException e) {