Merge "Clarify NativeHandle.java dup documentation."

am: 5afc5894ad

Change-Id: Ie0d193dc92ecbc8b5faa2d108cce845a938a5205
This commit is contained in:
Steven Moreland
2018-08-14 13:29:04 -07:00
committed by android-build-merger

View File

@@ -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];