mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Android 12 foreground restrictions
This commit is contained in:
@@ -556,7 +556,8 @@ public class FragmentOptionsSynchronize extends FragmentBase implements SharedPr
|
||||
}
|
||||
|
||||
private void bindTo(EntityAccount account) {
|
||||
cbExempted.setEnabled(!account.ondemand && account.protocol == EntityAccount.TYPE_IMAP);
|
||||
cbExempted.setEnabled(!Helper.isOptimizing12(context) &&
|
||||
!account.ondemand && account.protocol == EntityAccount.TYPE_IMAP);
|
||||
cbExempted.setChecked(account.poll_exempted);
|
||||
cbExempted.setText(account.name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user