mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-26 02:45:31 +01:00
Let alarm ignore calls and DND
This commit is contained in:
@@ -39,7 +39,7 @@ public class MediaPlayerHelper {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
if (isInCall(context) || isDnd(context))
|
||||
if (!alarm && (isInCall(context) || isDnd(context)))
|
||||
return;
|
||||
play(context, uri, alarm, duration);
|
||||
} catch (Throwable ex) {
|
||||
|
||||
Reference in New Issue
Block a user