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:
@@ -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