Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Use Android charging constraint and remove trial release note

laurenspriem9adf74682002
diff --git a/mobile/apps/photos/changes/ios-background-processing-on-battery.md b/mobile/apps/photos/changes/ios-background-processing-on-battery.md
deleted file mode 100644
index c9e2f1b3a4..0000000000
--- a/mobile/apps/photos/changes/ios-background-processing-on-battery.md
+++ /dev/null
@@ -1 +0,0 @@
-- Internal users on iOS can now run background sync and ML processing without connecting their device to power.
diff --git a/mobile/apps/photos/lib/utils/background_tasks.dart b/mobile/apps/photos/lib/utils/background_tasks.dart
index 4577296e04..02250aa3ef 100644
--- a/mobile/apps/photos/lib/utils/background_tasks.dart
+++ b/mobile/apps/photos/lib/utils/background_tasks.dart
@@ -136,7 +136,7 @@ class BackgroundTasks {
? const Duration(hours: 2)
: null,
requiresNetwork: true,
- requiresCharging: !Platform.isIOS,
+ requiresCharging: Platform.isAndroid,
requiresDeviceIdle: Platform.isAndroid,
runBudget: Platform.isIOS
? BgTaskUtils.taskTimeoutFor(