aneonex / BitcoinChecker

Bitcoin Checker data module (v2)
MIT License
67 stars 23 forks source link

Do Not Disturb Exceptions #102

Closed sevendaryl closed 3 years ago

sevendaryl commented 3 years ago

Currently the notification sound is still activated if there is any entry in "Calls, messages and conversations" section. Screenshot as attached.

Is it possible to not bypass the DND settings?

Tested on Samsung Galaxy Note 8, 9 and 20.

Screenshot_20210406-015241_Settings

aneonex commented 3 years ago

It is customizable in the app. See app settings: Customize Sounds -> Advanced: "Choose audio stream for Alarm sound".

By default the app using "Alarm stream" for sound that ignores DnD mode as well as other Android alarms. You can change the audio stream to "Ring and Notification stream" so as not to bypass the DnD mode.

sevendaryl commented 3 years ago

I've selected "Ringtone and Notification stream" but it will still sound whenever I have either of the following settings under DND:

Attaching the screenshot for reference:

Screenshot_20210414-204731_Settings

aneonex commented 3 years ago

I researched the issue. There are different behaviors in Android 10 and 11. I was able to reproduce on Android 10.

In the next app version (v2.31) it will be be fixed for all android versions and regardless of the selected alarm stream. I'll let you know when the app is published (in the coming days).

sevendaryl commented 3 years ago

Thanks a lot for finding out the problem and look forward to the updated app.

And of course thousand thanks for taking over the project from the original developer!

aneonex commented 3 years ago

The update published to Google Play. See app v2.32.

aneonex commented 3 years ago

Some changes in the latest version (v2.33).

The choice of audio stream in the app settings will affect the behavior in DnD mode: