π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Force streaming enabled for internal users (#8651)
Prateek Sunal999637a765b2
diff --git a/mobile/apps/photos/lib/services/video_preview_service.dart b/mobile/apps/photos/lib/services/video_preview_service.dartindex be3e26a6bf..1294a1a108 100644--- a/mobile/apps/photos/lib/services/video_preview_service.dart+++ b/mobile/apps/photos/lib/services/video_preview_service.dart@@ -113,11 +113,18 @@ class VideoPreviewService {static const String _videoStreamingEnabled = "videoStreamingEnabled";bool get isVideoStreamingEnabled {+ if (flagService.internalUser) {+ return true;+ }return serviceLocator.prefs.getBool(_videoStreamingEnabled) ??flagService.streamEnabledByDefault;}Future<void> setIsVideoStreamingEnabled(bool value) async {+ if (flagService.internalUser) {+ return;+ }+serviceLocator.prefs.setBool(_videoStreamingEnabled, value).ignore();Bus.instance.fire(VideoStreamingChanged());diff --git a/mobile/apps/photos/scripts/internal_changes.txt b/mobile/apps/photos/scripts/internal_changes.txtindex 015a402df4..f9f9ba880e 100644--- a/mobile/apps/photos/scripts/internal_changes.txt+++ b/mobile/apps/photos/scripts/internal_changes.txt@@ -1,3 +1,4 @@+- Prateek: (i) Always enable video streaming- Ashil: (i) Like & Comment- Neeraj: Admin Role + Suggest Delete feature- Neeraj: Large files section: add type filter, lower threshold to 10MB [QOL]