mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 03:32:15 -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 {
|
||||
throw new FileCopyException(R.string.error_out_of_memory);
|
||||
}
|
||||
} catch (NullPointerException e) {
|
||||
throw new FileCopyException(R.string.error_io_exception);
|
||||
} finally {
|
||||
close(os);
|
||||
close(is);
|
||||
|
Loading…
Reference in New Issue
Block a user