|
|
@@ -396,9 +396,11 @@ class PlayGameActivity : BaseMVVMActivity<ActivityPlayGameBinding, PlayGameViewM
|
|
|
val voicePlayerBean = voicePlayerDao.getVoicePlayerBean(desn)
|
|
|
if (voicePlayerBean != null) {
|
|
|
if (voicePlayer != null) {
|
|
|
- voicePlayer?.play(voicePlayerBean.url) {
|
|
|
- binding.tvIntroduce.text = gameShortDesn
|
|
|
- callPlayBgMusic()
|
|
|
+ if (isTopActivity(this)) {
|
|
|
+ voicePlayer?.play(voicePlayerBean.url) {
|
|
|
+ binding.tvIntroduce.text = gameShortDesn
|
|
|
+ callPlayBgMusic()
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
} else {
|