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

Commit d1dddaff authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Document the of closing LocalSocket streams." into main am: c7136b0d...

Merge "Document the of closing LocalSocket streams." into main am: c7136b0d am: 7368f22a am: 4a7807b4

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2850565



Change-Id: I6747905b592c0a3dfb27abc6f7f2c1266805f72f
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 72411548 4a7807b4
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -196,7 +196,8 @@ public class LocalSocket implements Closeable {
    }

    /**
     * Retrieves the input stream for this instance.
     * Retrieves the input stream for this instance. Closing this stream is equivalent to closing
     * the entire socket and its associated streams using {@link #close()}.
     *
     * @return input stream
     * @throws IOException if socket has been closed or cannot be created.
@@ -207,7 +208,8 @@ public class LocalSocket implements Closeable {
    }

    /**
     * Retrieves the output stream for this instance.
     * Retrieves the output stream for this instance. Closing this stream is equivalent to closing
     * the entire socket and its associated streams using {@link #close()}.
     *
     * @return output stream
     * @throws IOException if socket has been closed or cannot be created.