app: Do code cleanup

This commit is contained in:
tarsin committed 2022-07-18 20:47:04 +08:00
1 parent 9dcc24f4d9
commit 191db14398
72 files changed
+471 -506

No files matched your search

@@ -45,12 +45,6 @@ class UriOutputStream extends FileOutputStream {
mPfd = pfd;
}
@Override
public void close() throws IOException {
mPfd.close();
super.close();
}
@NonNull
static OutputStream create(Context context, Uri uri, String mode) throws IOException {
ParcelFileDescriptor pfd;
@@ -70,4 +64,10 @@ class UriOutputStream extends FileOutputStream {
return new UriOutputStream(pfd, fd);
}
@Override
public void close() throws IOException {
mPfd.close();
super.close();
}
}