|
|
|
@ -32,9 +32,8 @@ public class MediaPlayerHelper {
|
|
|
|
|
@Override
|
|
|
|
|
public void run() {
|
|
|
|
|
try {
|
|
|
|
|
if (MediaPlayerHelper.isInCall(context))
|
|
|
|
|
return;
|
|
|
|
|
MediaPlayerHelper.play(context, uri, alarm, duration);
|
|
|
|
|
if (!isInCall(context))
|
|
|
|
|
play(context, uri, alarm, duration);
|
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
|
Log.e(ex);
|
|
|
|
|
}
|
|
|
|
|