Add insufficient storage error message to link+sync.

This commit is contained in:
Michelle Tang
2025-06-09 11:55:49 -04:00
committed by Greyson Parrelli
parent e0726ce62f
commit 59b747ee63
6 changed files with 106 additions and 32 deletions

View File

@@ -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) {