Use new Activity Result APIs

This commit is contained in:
NekoInverter committed 2020-12-22 17:12:42 +08:00
1 parent c4b9d82768
commit 304af7dbe8
29 files changed
+224 -281

No files matched your search

@@ -34,7 +34,7 @@ class Pipe {
private boolean inClosed = false;
private boolean outClosed = false;
private InputStream inputStream = new InputStream() {
private final InputStream inputStream = new InputStream() {
@Override
public int read() throws IOException {
synchronized (Pipe.this) {
@@ -94,7 +94,7 @@ class Pipe {
}
};
private OutputStream outputStream = new OutputStream() {
private final OutputStream outputStream = new OutputStream() {
@Override
public void write(int b) throws IOException {
synchronized (Pipe.this) {