Merge "Prevent LocalSocket from creating an fd if fd is already there"
am: 616910fd53
Change-Id: I90192dd7e656b9bec62815ad628fc4e67f806240
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user