π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Cleanup exceptions
laurenspriemaf11ff21f42f
diff --git a/mobile/lib/services/machine_learning/face_ml/face_ml_exceptions.dart b/mobile/lib/services/machine_learning/face_ml/face_ml_exceptions.dartindex 2c43e6e56a..224be2fd6f 100644--- a/mobile/lib/services/machine_learning/face_ml/face_ml_exceptions.dart+++ b/mobile/lib/services/machine_learning/face_ml/face_ml_exceptions.dart@@ -22,21 +22,8 @@ class ThumbnailRetrievalException implements Exception {class CouldNotRetrieveAnyFileData implements Exception {}-class CouldNotInitializeFaceDetector implements Exception {}-class CouldNotRunFaceDetector implements Exception {}class CouldNotWarpAffine implements Exception {}-class CouldNotInitializeFaceEmbeddor implements Exception {}--class InputProblemFaceEmbeddor implements Exception {- final String message;-- InputProblemFaceEmbeddor(this.message);-- @override- String toString() => 'InputProblemFaceEmbeddor: $message';-}-class CouldNotRunFaceEmbeddor implements Exception {}\ No newline at end of filediff --git a/mobile/lib/services/machine_learning/face_ml/face_ml_service.dart b/mobile/lib/services/machine_learning/face_ml/face_ml_service.dartindex 737be8a548..0433491d36 100644--- a/mobile/lib/services/machine_learning/face_ml/face_ml_service.dart+++ b/mobile/lib/services/machine_learning/face_ml/face_ml_service.dart@@ -1116,8 +1116,6 @@ class FaceMlService {/// `imageData`: The image data to analyze.////// Returns a list of face detection results.- ///- /// Throws [CouldNotInitializeFaceDetector], [CouldNotRunFaceDetector] or [GeneralFaceMlException] if something goes wrong.static Future<List<FaceDetectionRelative>> detectFacesSync(Image image,ByteData imageByteData,@@ -1153,8 +1151,6 @@ class FaceMlService {/// `faces`: The face detection results in a list of [FaceDetectionAbsolute] for the faces to align.////// Returns a list of the aligned faces as image data.- ///- /// Throws [CouldNotWarpAffine] or [GeneralFaceMlException] if the face alignment fails.static Future<Float32List> alignFacesSync(Image image,ByteData imageByteData,diff --git a/mobile/lib/services/machine_learning/face_ml/person/person_service.dart b/mobile/lib/services/machine_learning/face_ml/person/person_service.dartindex 682deaff0c..27bf5e1df2 100644--- a/mobile/lib/services/machine_learning/face_ml/person/person_service.dart+++ b/mobile/lib/services/machine_learning/face_ml/person/person_service.dart@@ -65,11 +65,6 @@ class PersonService {return map;}- Future<Set<String>> personIDs() async {- final entities = await entityService.getEntities(EntityType.person);- return entities.map((e) => e.id).toSet();- }-Future<void> reconcileClusters() async {final EnteWatch? w = kDebugMode ? EnteWatch("reconcileClusters") : null;w?.start();