π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] use common ML cleanup error path
ashil-pilot24049aef3472
diff --git a/mobile/apps/photos/lib/services/machine_learning/ml_service.dart b/mobile/apps/photos/lib/services/machine_learning/ml_service.dartindex 6a82d84338..fe7b1393ca 100644--- a/mobile/apps/photos/lib/services/machine_learning/ml_service.dart+++ b/mobile/apps/photos/lib/services/machine_learning/ml_service.dart@@ -1,6 +1,6 @@import "dart:async";import "dart:convert" show jsonEncode;-import "dart:io" show File, PathNotFoundException, Platform;+import "dart:io" show File, Platform;import "dart:math" show min;import "dart:typed_data" show Uint8List;@@ -972,8 +972,6 @@ class MLService {if (pathToDeleteAfterMLProcessing != null) {try {await File(pathToDeleteAfterMLProcessing).delete();- } on PathNotFoundException {- // Already deleted.} catch (e, s) {_logger.warning("Failed to delete origin file exported for ML at $pathToDeleteAfterMLProcessing",