π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Skip startup hydration wait for offline ML
laurenspriem8f53691e730c
diff --git a/mobile/apps/photos/lib/services/machine_learning/ml_service.dart b/mobile/apps/photos/lib/services/machine_learning/ml_service.dartindex bfcdd493b1..937400cf3b 100644--- a/mobile/apps/photos/lib/services/machine_learning/ml_service.dart+++ b/mobile/apps/photos/lib/services/machine_learning/ml_service.dart@@ -403,7 +403,9 @@ class MLService {/// with the lastest faceMlVersion and stored on remote or local database. If so, it skips the image.Future<void> fetchAndIndexAllImages({required MLMode mode}) async {if (!_canRunMLFunction(function: "Indexing")) return;- await _waitForOwnedRemoteHydrationIfRunning();+ if (mode == MLMode.online && !isOfflineMode) {+ await _waitForOwnedRemoteHydrationIfRunning();+ }if (!_canRunMLFunction(function: "Indexing")) return;bool rustRuntimePrepared = false;