This commit is contained in:
lixiaopeng
2021-11-05 15:25:54 +08:00
parent 10659e4a06
commit f10a6b1109
3 changed files with 12 additions and 9 deletions

View File

@@ -13,11 +13,9 @@ import com.mogo.eagle.core.widget.media.video.NoticeSimpleVideoPlayer
import com.mogo.module.common.dialog.BaseFloatDialog
import com.mogo.utils.BitmapHelper
import com.mogo.utils.glide.GlideApp
import com.mogo.utils.logger.Logger
import com.shuyu.gsyvideoplayer.GSYVideoManager
import com.shuyu.gsyvideoplayer.builder.GSYVideoOptionBuilder
import com.shuyu.gsyvideoplayer.listener.VideoAllCallBack
import com.shuyu.gsyvideoplayer.video.base.GSYVideoView
/**
@@ -67,6 +65,12 @@ class NoticeCheckDialog(context: Context) : BaseFloatDialog(context) {
}
}
override fun dismiss() {
super.dismiss()
stopLive()
}
/**
* 展示详情页面
*/
@@ -200,4 +204,5 @@ class NoticeCheckDialog(context: Context) : BaseFloatDialog(context) {
}
}

View File

@@ -20,7 +20,6 @@ import com.mogo.eagle.core.function.api.notice.NoticeNetCallBack;
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotManager;
import com.mogo.eagle.core.function.call.notice.CallerNoticeManager;
import com.mogo.eagle.core.function.hmi.R;
import com.mogo.eagle.core.widget.media.video.NoticeSimpleSmallVideoPlayer;
import com.mogo.eagle.core.widget.media.video.NoticeSimpleVideoPlayer;
import com.mogo.module.common.MogoApisHandler;
import com.mogo.module.common.dialog.BaseFloatDialog;