Meditating while Do Not Disturb is on permanently enables DND #94
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: tslocum/meditationassistant#94
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is relatively minor but I thought I'd report it.
I'm seeing it on a Pixel 4a with Android 11, running CalyxOS (should be the same as AOSP for this part).
To reproduce:
Expected behaviour:
Observed behaviour:
Looking in the code, I am guessing this is a side effect of calling
getCurrentInterruptionFilter()
to save the previous DND state andsetInterruptionFilter()
to restore it. The state is set but the metadata about being set by schedule is lost.Looking through NotificationManager class I'm not sure that Android's public API provides a solution for this, though.
Thanks for reporting this. I will look into this further when I have some time. It might be possible to check if DND is already set before applying custom DND settings.
I've also observed this behavior on my Fairphone 2, running Lineage Android 10.