Do not disturb for specific calendars

by George Chen

Version 1 (June 29, 2017)

Download (13 downloads)

DnD for those who dislike how you cannot choose calendars other than primary for Android's default DnD. Customize this one by editing which calendar you want to set DnD for in the "Await Event" block > "Calendar URI" (leave blank for all calendars).

On default, this flow will set and turn off DnD for the selected calendar if it is "busy". It will turn on DnD at the beginning of events and turn off DnD at the end of events ONLY.

Please rate and let me know if I can change it to be better, especially for battery optimization. I currently did not choose to use "immediately" vs "when transition" due to battery concerns.