mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 01:53:25 +02:00
Check resolver input/output streams
This commit is contained in:
@@ -4084,7 +4084,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
os = new FileOutputStream(file);
|
||||
|
||||
if (is == null)
|
||||
throw new IOException("Content provider crashed");
|
||||
throw new FileNotFoundException(uri.toString());
|
||||
|
||||
byte[] buffer = new byte[Helper.BUFFER_SIZE];
|
||||
for (int len = is.read(buffer); len != -1; len = is.read(buffer)) {
|
||||
|
||||
Reference in New Issue
Block a user