mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-31 11:32:00 +00:00
parent
29bf51f765
commit
b7f076b6b5
@ -242,7 +242,7 @@ public class NotificationJob extends Job {
|
||||
if (notificationManager != null) {
|
||||
notificationManager.notify((int) crc32.getValue(), notificationBuilder.build());
|
||||
|
||||
if (soundUri != null) {
|
||||
if (soundUri != null & !ApplicationWideCurrentRoomHolder.getInstance().isInCall()) {
|
||||
MediaPlayer mediaPlayer = MediaPlayer.create(context, soundUri);
|
||||
mediaPlayer.start();
|
||||
mediaPlayer.setOnCompletionListener(MediaPlayer::release);
|
||||
|
Loading…
Reference in New Issue
Block a user