mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-30 20:52:21 -05:00
try to catch weird npe in android sdk
This commit is contained in:
parent
5dd83a5fe6
commit
4274fe90ac
@ -235,6 +235,8 @@ public class FileBackend {
|
|||||||
} else {
|
} else {
|
||||||
throw new FileCopyException(R.string.error_out_of_memory);
|
throw new FileCopyException(R.string.error_out_of_memory);
|
||||||
}
|
}
|
||||||
|
} catch (NullPointerException e) {
|
||||||
|
throw new FileCopyException(R.string.error_io_exception);
|
||||||
} finally {
|
} finally {
|
||||||
close(os);
|
close(os);
|
||||||
close(is);
|
close(is);
|
||||||
|
Loading…
Reference in New Issue
Block a user