mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 23:50:58 +01:00
Removed not nessary input/output buffering
This commit is contained in:
@@ -73,7 +73,6 @@ import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
|
||||
import java.io.BufferedInputStream;
|
||||
import java.io.BufferedOutputStream;
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
@@ -602,7 +601,7 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||
|
||||
ContentResolver resolver = context.getContentResolver();
|
||||
DocumentFile file = DocumentFile.fromSingleUri(context, uri);
|
||||
try (OutputStream raw = new BufferedOutputStream(resolver.openOutputStream(uri))) {
|
||||
try (OutputStream raw = resolver.openOutputStream(uri)) {
|
||||
Log.i("Writing URI=" + uri + " name=" + file.getName() + " virtual=" + file.isVirtual());
|
||||
|
||||
if (TextUtils.isEmpty(password))
|
||||
|
||||
Reference in New Issue
Block a user