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

Commit af525ff4 authored by Ajay Panicker's avatar Ajay Panicker Committed by android-build-merger
Browse files

Merge "Prevent LocalSocket from creating an fd if fd is already there" am:...

Merge "Prevent LocalSocket from creating an fd if fd is already there" am: 616910fd am: d76576b6
am: e0211af8

Change-Id: I5ac57ca6439359fc65622254090a3ea6cc2aec18
parents 4d3caf39 e0211af8
Loading
Loading
Loading
Loading
+6 −5
Original line number Original line Diff line number Diff line
@@ -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) {