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 @Override
public void run() { public void run() {
try { try {
if (isInCall(context) || isDnd(context)) if (!alarm && (isInCall(context) || isDnd(context)))
return; return;
play(context, uri, alarm, duration); play(context, uri, alarm, duration);
} catch (Throwable ex) { } catch (Throwable ex) {

Loading…
Cancel
Save