mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-26 19:56:02 +01:00
Add insufficient storage error message to link+sync.
This commit is contained in:
committed by
Greyson Parrelli
parent
e0726ce62f
commit
59b747ee63
@@ -64,7 +64,7 @@ public enum BackupFileIOError {
|
||||
}
|
||||
}
|
||||
|
||||
private static @Nullable BackupFileIOError getFromException(@NonNull IOException e) {
|
||||
public static @Nullable BackupFileIOError getFromException(@NonNull IOException e) {
|
||||
if (e instanceof FullBackupExporter.InvalidBackupStreamException) {
|
||||
return ATTACHMENT_TOO_LARGE;
|
||||
} else if (e.getMessage() != null) {
|
||||
|
||||
Reference in New Issue
Block a user