π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mobile][photos] Avoid waiting on upload locks in background tasks
laurenspriem33af7286d868
diff --git a/mobile/apps/photos/lib/module/upload/service/file_uploader.dart b/mobile/apps/photos/lib/module/upload/service/file_uploader.dartindex f1673e2520..de2856a379 100644--- a/mobile/apps/photos/lib/module/upload/service/file_uploader.dart+++ b/mobile/apps/photos/lib/module/upload/service/file_uploader.dart@@ -261,7 +261,8 @@ class FileUploader {_queue.complete(item, uploadedFile);return uploadedFile;} catch (e) {- if (e is LockAlreadyAcquiredError) {+ if (e is LockAlreadyAcquiredError &&+ _processType == ProcessType.foreground) {return _queue.moveToBackground(item);}if (isDeviceStorageFullError(e)) {