Revert "opt"

This reverts commit 6582f32677.
This commit is contained in:
liujing
2021-11-09 15:19:28 +08:00
parent 5f4e7a8740
commit 01f2dc75c3
4 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ import com.mogo.eagle.core.data.notice.NoticeValue;
import com.mogo.eagle.core.function.api.notice.NoticeNetCallBack;
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.NoticeSmallVideoPlayer;
import com.mogo.eagle.core.widget.media.video.NoticeSimpleSmallVideoPlayer;
import com.mogo.module.common.MogoApisHandler;
import com.mogo.module.common.dialog.BaseFloatDialog;
import com.mogo.service.imageloader.MogoImageView;
@@ -42,7 +42,7 @@ public class NoticeTrafficDialog extends BaseFloatDialog {
private String TAG = "AINotice";
private Context mContext;
private RecyclerView mRecyclerView;
private NoticeSmallVideoPlayer mVideoPlayer;
private NoticeSimpleSmallVideoPlayer mVideoPlayer;
private NoticeTrafficStylePushData mPushData;
private ImageView close;
private ImageView playImageView;

View File

@@ -31,7 +31,7 @@
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<!--图/视频-->
<com.mogo.eagle.core.widget.media.video.NoticeSmallVideoPlayer
<com.mogo.eagle.core.widget.media.video.NoticeSimpleSmallVideoPlayer
android:id="@+id/video_player"
android:layout_width="0dp"
android:layout_height="@dimen/notice_traffic_acc_image_height"

View File

@@ -22,7 +22,7 @@ import com.shuyu.gsyvideoplayer.video.base.GSYVideoViewBridge
*
* 视频播放器ui定制
*/
class NoticeSmallVideoPlayer : StandardGSYVideoPlayer {
class NoticeSimpleSmallVideoPlayer : StandardGSYVideoPlayer {
companion object {
const val PLAY_EVT_PLAY_LOADING = 1000
@@ -61,7 +61,7 @@ class NoticeSmallVideoPlayer : StandardGSYVideoPlayer {
}
override fun getLayoutId(): Int {
return R.layout.item_small_notice_video
return R.layout.item_notice_video_small
}
override fun getGSYVideoManager(): GSYVideoViewBridge {