Added synchronize on demand setting

This commit is contained in:
M66B
2019-02-17 18:29:00 +00:00
parent 3dda075978
commit d597366f17
12 changed files with 1569 additions and 12 deletions

View File

@@ -3202,7 +3202,7 @@ public class ServiceSynchronize extends LifecycleService {
}
// Start monitoring accounts
List<EntityAccount> accounts = db.account().getAccounts(true);
List<EntityAccount> accounts = db.account().getSynchronizingAccounts(false);
for (final EntityAccount account : accounts) {
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O)
if (account.notify)