Merge "Prevent LocalSocket from creating an fd if fd is already there" am: 616910fd53 am: d76576b6d1

am: e0211af867

Change-Id: I5ac57ca6439359fc65622254090a3ea6cc2aec18
This commit is contained in:
Ajay Panicker
2017-01-06 01:50:03 +00:00
committed by android-build-merger

View File

@@ -73,6 +73,7 @@ public class LocalSocket implements Closeable {
this(new LocalSocketImpl(fd), SOCKET_UNKNOWN); this(new LocalSocketImpl(fd), SOCKET_UNKNOWN);
isBound = true; isBound = true;
isConnected = true; isConnected = true;
implCreated = true;
} }
private LocalSocket(LocalSocketImpl impl, int sockType) { private LocalSocket(LocalSocketImpl impl, int sockType) {