Merge "Clarify NativeHandle.java dup documentation." am: 5afc5894ad

am: 93483d3671

Change-Id: Ia34d72de62be27ebda2427f0d5a6e1b7edf25a6e
This commit is contained in:
Steven Moreland
2018-08-14 14:54:07 -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];