π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Merge remote-tracking branch 'upstream/main' into bg-ml-run
Prateek Sunal781c1dffc3bb
diff --cc mobile/apps/photos/lib/services/machine_learning/compute_controller.dartindex fad10341c7,51b1d128d7..c5af13880a--- a/mobile/apps/photos/lib/services/machine_learning/compute_controller.dart+++ b/mobile/apps/photos/lib/services/machine_learning/compute_controller.dart@@@ -9,7 -9,7 +9,8 @@@ import "package:logging/logging.dart"import "package:photos/core/event_bus.dart";import "package:photos/events/compute_control_event.dart";import "package:photos/events/device_health_changed_event.dart";+import "package:photos/main.dart";+ import "package:photos/utils/local_settings.dart";import "package:thermal/thermal.dart";enum ComputeRunState {@@@ -63,13 -68,14 +69,17 @@@ class ComputeController// Directly assign the values + Attach listener for compute controllerFuture<void> init() async {+ // we don't need listeners to be initialized in background+ if (isProcessBg) return;+- // Interaction Timer-+ // Initialize interaction tracking before any await to avoid first-tap races._startInteractionTimer(kDefaultInteractionTimeout);+ await setMLDebugInteractionOverride(+ turnOn: _localSettings.runMLDuringInteractionOverride,+ persist: false,+ );+// Thermal related_onThermalStateUpdate(await _thermal.thermalStatus);_thermal.onThermalStatusChanged.listen((ThermalStatus thermalState) {