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

Commit b8e33ec7 authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "Clarify NativeHandle.java dup documentation." am: 5afc5894 am: 93483d36

am: e4086dff

Change-Id: Ib68770ddb7ed4750e648c258409efedc0b62ad7d
parents 8d9b51f9 e4086dff
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -100,6 +100,9 @@ public final class NativeHandle implements Closeable {

    /**
     * Explicitly duplicate NativeHandle (this dups all file descritptors).
     *
     * If this method is called, this must also be explicitly closed with
     * {@link #close()}.
     */
    public NativeHandle dup() throws java.io.IOException {
        FileDescriptor[] fds = new FileDescriptor[mFds.length];