-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DND #818
Comments
Has the app been granted the dnd permission? By the way, another way to test this is by manually turning on "bedtime mode" from the bedtime screen - the DND icon should appear/disappear in the status bar as its activated/deactivated. |
The dnd permission is granted
Manually , some time it is work and some time no |
Hrm, that is an interesting detail.. I will take a closer look. Its not really tested with Android 14 (I've had issues running that emulator), so maybe somehow related. |
|
Unfortunately I don't see anything strange in that log; e.g. it shows that The "bedtime mode" seems to toggle reliably (and show expected messages in the log), so I'm assuming the problem is somewhere in BedtimeConditionService. There should be lines in the log that start with I was able to get the Android 14 emulator running (finally), but so far unable to reproduce the problem. |
Hrm , Alarm widgets , |
Those lines still appear because the "widget receivers" trigger every time the update broadcast is sent (even when there aren't any widgets).
I can probably guess. There are three options (alarm, notification, and quick notification), but only two "chips" are shown in the UI ("alarm" and "notification"). If I remember its that way because I was a little lazy. 😂 |
👍
😂 |
|
adds "do not disturb" preference that indicates the state of the required permission (#818)
Doesn't work with latest release |
That is a shame. I fixed a problem with the intent that triggers this, so I was hoping that was the cause, but I haven't been able to reproduce it myself. Maybe this issue is somehow Xiomi specific. btw, I've added additional log messages when DND is triggered. Unfortunately the previous logs don't reveal anything. |
here you are
|
This app works well with me for DND |
I took a quick look at the source. That app calls I have no idea why that rule approach isn't working. If it works intermittently, maybe AutoDND (or an app like it) is overriding the setting. I think its plausible since that app works by monitoring running apps with an AccesibilityService. Anyhow, I think there might be an easy solution - an advanced option that tells Suntimes to also call |
This seems less plausible after looking closely at latest log. The I'm curious if there is a |
adds bedtime option for using dnd rules, or overriding dnd directly (#818)
Good to hear good news. |
You can try an unsigned debug apk, but its a pain since it will conflict with the F-Droid built app. You'd have to uninstall one to run the other. For any commit (like the one just above), click the green check, then I'll probably tag the next patch in ~2 weeks. |
Ok ,
|
Hello @forrestguice ,
Thank you for the new option DND , but it is not work correctly with me
Describe the bug
Quik notification with (turn on bedtime Mode) action does not get phone to DND
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Activate phone DND mode
Screenshots
Version Info:
Additional context
Add any other information about the problem here.
The text was updated successfully, but these errors were encountered: