diff --git a/OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/video/RecyclerVideoAdapter.java b/OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/video/RecyclerVideoAdapter.java index 33e5186b91..1cfb659a75 100644 --- a/OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/video/RecyclerVideoAdapter.java +++ b/OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/video/RecyclerVideoAdapter.java @@ -39,7 +39,9 @@ public class RecyclerVideoAdapter extends RecyclerView.Adapter 0) { mTextureViewContainer.removeAllViews() } - saveLocationStatus(context, statusBar, actionBar) var hadNewConstructor = true //切换时关闭非全屏定时器 @@ -281,6 +259,7 @@ class ConsultVideoPlayer : StandardGSYVideoPlayer { ) gsyVideoPlayer = constructor.newInstance(mContext, true) } + this.fullVideoPlayer = gsyVideoPlayer gsyVideoPlayer.id = fullId gsyVideoPlayer.isIfCurrentIsFullscreen = true gsyVideoPlayer.setVideoAllCallBack(mVideoAllCallBack) @@ -303,7 +282,7 @@ class ConsultVideoPlayer : StandardGSYVideoPlayer { width, height ) frameLayout.addView(gsyVideoPlayer, lp) - FullVideoUtils.showOverlayView(context,frameLayout) + FullVideoUtils.showOverlayView(context as Activity,frameLayout) gsyVideoPlayer.visibility = INVISIBLE frameLayout.visibility = INVISIBLE resolveFullVideoShow(context, gsyVideoPlayer, frameLayout) @@ -381,13 +360,10 @@ class ConsultVideoPlayer : StandardGSYVideoPlayer { mVideoAllCallBack.onQuitFullscreen(mOriginUrl, mTitle, this) } mIfCurrentIsFullscreen = false - if (mHideKey) { - CommonUtil.showNavKey(mContext, mSystemUiVisibility) - } - CommonUtil.showSupportActionBar(mContext, mActionBar, mStatusBar) if (fullscreenButton != null) { fullscreenButton.setImageResource(enlargeImageRes) } + this.fullVideoPlayer = null } }