π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Only clear queue when user disables streaming, not for temporary conditions
Prateek Sunal46539204f4de
diff --git a/mobile/apps/photos/lib/services/video_preview_service.dart b/mobile/apps/photos/lib/services/video_preview_service.dartindex f754582df3..77baebdc01 100644--- a/mobile/apps/photos/lib/services/video_preview_service.dart+++ b/mobile/apps/photos/lib/services/video_preview_service.dart@@ -299,8 +299,13 @@ class VideoPreviewService {"Pause preview due to disabledSteaming($isVideoStreamingEnabled) or computeController permission) - isManual: $isManual",);computeController.releaseCompute(stream: true);- if (isVideoStreamingEnabled) _logger.info("No permission to run compute");- clearQueue();+ // Only clear queue if user explicitly disabled streaming (permanent condition)+ // Don't clear for temporary conditions like compute unavailable or device unhealthy+ if (!isVideoStreamingEnabled) {+ clearQueue();+ } else {+ _logger.info("No permission to run compute - queue preserved");+ }return;}