Allow apps to be exempted from BG updates (#822)

This commit is contained in:
Imran Remtulla
2023-08-28 20:02:09 -04:00
parent 551643b11c
commit bd8f608ee6
14 changed files with 20 additions and 1 deletions

View File

@@ -366,6 +366,9 @@ class AppsProvider with ChangeNotifier {
if (!settingsProvider.enableBackgroundUpdates) {
return false;
}
if (app.additionalSettings['examptFromBackgroundUpdates'] == true) {
return false;
}
if (app.apkUrls.length > 1) {
// Manual API selection means silent install is not possible
return false;