π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Fire PeopleChangedEvent after each cluster bucket
laurenspriemcad07cd96f12
diff --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 222fd50b8f..8ea0a30d93 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@@ -666,6 +666,7 @@ class FaceMlService {.updateFaceIdToClusterId(clusteringResult.newFaceIdToCluster);await FaceMLDataDB.instance.clusterSummaryUpdate(clusteringResult.newClusterSummaries!);+ Bus.instance.fire(PeopleChangedEvent());for (final faceInfo in faceInfoForClustering) {faceInfo.clusterId ??=clusteringResult.newFaceIdToCluster[faceInfo.faceID];@@ -710,10 +711,10 @@ class FaceMlService {.updateFaceIdToClusterId(clusteringResult.newFaceIdToCluster);await FaceMLDataDB.instance.clusterSummaryUpdate(clusteringResult.newClusterSummaries!);+ Bus.instance.fire(PeopleChangedEvent());_logger.info('Done updating FaceIDs with clusterIDs in the DB, in ''${DateTime.now().difference(clusterDoneTime).inSeconds} seconds');}- Bus.instance.fire(PeopleChangedEvent());_logger.info('clusterAllImages() finished, in ''${DateTime.now().difference(clusterAllImagesTime).inSeconds} seconds');} catch (e, s) {