π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Separate flag for stale file ML fix
laurenspriem84e47e919c3f
diff --git a/mobile/apps/photos/lib/utils/ml_util.dart b/mobile/apps/photos/lib/utils/ml_util.dartindex 0c95fc025a..4f21dedcfb 100644--- a/mobile/apps/photos/lib/utils/ml_util.dart+++ b/mobile/apps/photos/lib/utils/ml_util.dart@@ -538,7 +538,7 @@ Future<List<FileMLInstruction>> hydrateRemoteMLDataForInstructions(return instructions.where((instruction) => instruction.pendingML).toList();}_logger.info("fetching embeddings for ${ids.length} files");- final res = flagService.internalUser+ final res = flagService.mLHydrationStaleFileRecovery? await _fetchFilesDataForMlHydrationWithRecovery(pendingIndex): await fileDataService.getFilesData(ids);_logger.info("embeddingResponse ${res.debugLog()}");diff --git a/mobile/apps/photos/plugins/ente_feature_flag/lib/src/service.dart b/mobile/apps/photos/plugins/ente_feature_flag/lib/src/service.dartindex bba6e318f5..1e342691cc 100644--- a/mobile/apps/photos/plugins/ente_feature_flag/lib/src/service.dart+++ b/mobile/apps/photos/plugins/ente_feature_flag/lib/src/service.dart@@ -122,6 +122,8 @@ class FlagService {bool get syncRecoveryDiagnostics => internalUser;+ bool get mLHydrationStaleFileRecovery => internalUser;+Future<void> tryRefreshFlags() async {try {await _fetch();