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

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

Merge "Clarify NativeHandle.java dup documentation."

am: 5afc5894

Change-Id: Ie0d193dc92ecbc8b5faa2d108cce845a938a5205
parents 65808029 5afc5894
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];