Let alarm ignore calls and DND

pull/209/head
M66B 2 years ago
parent c65f877249
commit 0d62b0affa

@ -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) {

Loading…
Cancel
Save