thunderbird / thunderbird-android

K-9 Mail – Open Source Email App for Android
https://k9mail.app/
Apache License 2.0
9.47k stars 2.42k forks source link

Add "Push folders" settings screen that prompts for alarm permission #7765

Closed cketti closed 1 week ago

cketti commented 3 weeks ago

Change the UI for the "Push folders" setting to ask for the permission to schedule exact alarms before allowing the user to enable Push.

It's possible to end up in a state where Push is enabled but the permission is missing. That's why we always allow the user to select the None option to disable Push, even when the permission hasn't been granted.

image

The plan is to change the way Push is enabled for folders (#7761). So almost all of this code is going to be removed in the near future.

Test instructions

Closes #7363

cketti commented 2 weeks ago

I've updated the PR description with some instructions for testing.

cketti commented 2 weeks ago

I've updated the PR to…