mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Play audio files.
This commit is contained in:
@@ -89,7 +89,7 @@ public class AudioSelectActivity extends BaseFragment implements NotificationCen
|
||||
super.onFragmentDestroy();
|
||||
NotificationCenter.getInstance().removeObserver(this, NotificationCenter.closeChats);
|
||||
NotificationCenter.getInstance().removeObserver(this, NotificationCenter.audioDidReset);
|
||||
if (playingAudio != null && MediaController.getInstance().isPlayingAudio(playingAudio)) {
|
||||
if (playingAudio != null && MediaController.getInstance().isMessageOnAir(playingAudio)) {
|
||||
MediaController.getInstance().cleanupPlayer(true, true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user