mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Check DND for speak/sound
This commit is contained in:
@@ -906,7 +906,7 @@ public class EntityRule {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
if (MediaPlayerHelper.isInCall(context))
|
||||
if (MediaPlayerHelper.isInCall(context) || MediaPlayerHelper.isDnd(context))
|
||||
return;
|
||||
speak(context, EntityRule.this, message);
|
||||
} catch (Throwable ex) {
|
||||
|
||||
Reference in New Issue
Block a user