π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
merge main
laurenspriem98499ffdf141
diff --cc mobile/apps/photos/lib/ui/settings/debug/ml_debug_settings_page.dartindex 55e3695716,6c9c1552f0..98bd2af827--- a/mobile/apps/photos/lib/ui/settings/debug/ml_debug_settings_page.dart+++ b/mobile/apps/photos/lib/ui/settings/debug/ml_debug_settings_page.dart@@@ -830,7 -836,8 +836,8 @@@ class _MLDebugSettingsPageState extendFuture<void> _onSyncPersonMappings(BuildContext context) async {try {- await faceRecognitionService.syncPersonFeedback();+ await personFeedbackService.syncPersonFeedback();+ if (!context.mounted) return;showShortToast(context, "Done");} catch (e, s) {logger.warning('sync person mappings failed ', e, s);diff --cc mobile/apps/photos/lib/utils/isolate/super_isolate.dartindex 28be15a1ca,3d192d82df..642a6b134d--- a/mobile/apps/photos/lib/utils/isolate/super_isolate.dart+++ b/mobile/apps/photos/lib/utils/isolate/super_isolate.dart@@@ -1,7 -1,7 +1,6 @@@import 'dart:async';import 'dart:isolate';- import "package:flutter/foundation.dart" show kDebugMode;-import "package:dart_ui_isolate/dart_ui_isolate.dart";import "package:flutter/services.dart";import "package:logging/logging.dart";import "package:photos/core/error-reporting/isolate_logging.dart";@@@ -62,9 -70,9 +62,9 @@@ abstract class SuperIsolate@pragma('vm:entry-point')static void _isolateMain(List<dynamic> args) async {final SendPort mainSendPort = args[0] as SendPort;- final RootIsolateToken? rootToken = args[1] as RootIsolateToken?;+ final RootIsolateToken rootToken = args[1] as RootIsolateToken;- Logger.root.level = kDebugMode ? Level.ALL : Level.INFO;+ Logger.root.level = SuperLogging.rootLoggerLevel;final IsolateLogger isolateLogger = IsolateLogger();Logger.root.onRecord.listen(isolateLogger.onLogRecordInIsolate);final receivePort = ReceivePort();diff --cc mobile/apps/photos/lib/utils/ml_util.dartindex 53c1677e21,90a745b4f5..000405cc6c--- a/mobile/apps/photos/lib/utils/ml_util.dart+++ b/mobile/apps/photos/lib/utils/ml_util.dart@@@ -31,10 -34,9 +33,9 @@@ import "package:photos/services/machineimport "package:photos/services/search_service.dart";import "package:photos/services/sync/local_sync_service.dart";import "package:photos/src/rust/api/ml_indexing_api.dart" as rust_ml;-import "package:photos/utils/image_ml_util.dart";+import "package:photos/utils/file_util.dart";+import "package:photos/utils/image_decode_util.dart";import "package:photos/utils/network_util.dart";- import "package:photos/utils/thumbnail_util.dart";final _logger = Logger("MlUtil");const _kMlStaleCleanupMaxIds = 5;diff --cc mobile/apps/photos/pubspec.yamlindex 0b6d5f2b63,6d0f065e3c..35cdb37959--- a/mobile/apps/photos/pubspec.yaml+++ b/mobile/apps/photos/pubspec.yaml@@@ -186,7 -187,13 +186,7 @@@ dependenciesnative_dio_adapter: 1.5.1native_video_editor:path: ../../packages/native_video_editor- native_video_player: 4.0.0+ native_video_player: 4.0.1- onnx_dart:- path: plugins/onnx_dart- onnxruntime:- git:- url: https://github.com/ente/onnxruntime.git- ref: 212b2cab85647c6d2ffee213dc3b875ef2bf6504open_mail_app: # replace plugin, git is archivedgit:url: https://github.com/ente/open-mail-app-flutter.git