opt
This commit is contained in:
@@ -65,7 +65,6 @@ class NoticeCheckDialog(context: Context) : BaseFloatDialog(context) {
|
||||
playImageView!!.visibility = View.GONE
|
||||
thumbnailImageView!!.visibility = View.GONE
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -117,7 +116,7 @@ class NoticeCheckDialog(context: Context) : BaseFloatDialog(context) {
|
||||
}
|
||||
}
|
||||
|
||||
fun stopLive() {
|
||||
private fun stopLive() {
|
||||
try {
|
||||
GSYVideoManager.releaseAllVideos()
|
||||
} catch (e: Exception) {
|
||||
|
||||
@@ -9,8 +9,6 @@ import android.widget.FrameLayout
|
||||
import android.widget.ImageView
|
||||
import android.widget.TextView
|
||||
import androidx.annotation.LayoutRes
|
||||
import com.bumptech.glide.load.resource.bitmap.RoundedCorners
|
||||
import com.facebook.drawee.drawable.RoundedCornersDrawable
|
||||
import com.mogo.commons.context.ContextHolderUtil
|
||||
import com.mogo.eagle.core.data.notice.NoticeNormalData
|
||||
import com.mogo.eagle.core.function.hmi.R
|
||||
@@ -66,7 +64,6 @@ class NoticeFloatView constructor(
|
||||
pushCheckDialog = NoticeCheckDialog(ContextHolderUtil.getContext())
|
||||
}
|
||||
pushCheckDialog!!.showCheckDialog(it)
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -121,7 +118,6 @@ class NoticeFloatView constructor(
|
||||
|
||||
|
||||
open inner class PushViewInTopView(context: Context) : PushView(context) {
|
||||
|
||||
private val mTopViewManager: IMogoTopViewManager = getApis(context).topViewManager
|
||||
|
||||
init {
|
||||
@@ -248,7 +244,7 @@ class NoticeFloatView constructor(
|
||||
)
|
||||
}
|
||||
|
||||
fun hide() {
|
||||
private fun hide() {
|
||||
if (!isAddWindow) {
|
||||
return
|
||||
}
|
||||
|
||||
@@ -106,12 +106,10 @@ class NoticeSimpleVideoPlayer : StandardGSYVideoPlayer {
|
||||
|
||||
override fun changeUiToCompleteShow() {
|
||||
super.changeUiToCompleteShow()
|
||||
Log.d("liyz", "changeUiToCompleteShow ------> ")
|
||||
}
|
||||
|
||||
override fun hideAllWidget() {
|
||||
super.hideAllWidget()
|
||||
Log.d("liyz", "hideAllWidget ------> ")
|
||||
mBottomContainer?.visibility = View.VISIBLE
|
||||
mProgressBar?.visibility = View.VISIBLE
|
||||
start?.visibility = View.VISIBLE
|
||||
@@ -120,14 +118,12 @@ class NoticeSimpleVideoPlayer : StandardGSYVideoPlayer {
|
||||
|
||||
override fun changeUiToPrepareingClear() {
|
||||
super.changeUiToPrepareingClear()
|
||||
Log.d("liyz", "changeUiToPrepareingClear ------> ")
|
||||
mBottomContainer?.visibility = View.INVISIBLE
|
||||
mProgressBar?.visibility = View.GONE
|
||||
}
|
||||
|
||||
override fun changeUiToPlayingBufferingClear() {
|
||||
super.changeUiToPlayingBufferingClear()
|
||||
Log.d("liyz", "changeUiToPlayingBufferingClear ------> ")
|
||||
mBottomContainer?.visibility = View.INVISIBLE
|
||||
mProgressBar?.visibility = View.GONE
|
||||
|
||||
@@ -135,19 +131,16 @@ class NoticeSimpleVideoPlayer : StandardGSYVideoPlayer {
|
||||
|
||||
override fun changeUiToClear() {
|
||||
super.changeUiToClear()
|
||||
Logger.d("liyz", "changeUiToClear ------> ")
|
||||
}
|
||||
|
||||
override fun changeUiToCompleteClear() {
|
||||
super.changeUiToCompleteClear()
|
||||
Logger.d("liyz", "changeUiToCompleteClear ------> ")
|
||||
mBottomContainer?.visibility = View.INVISIBLE
|
||||
mProgressBar?.visibility = View.GONE
|
||||
}
|
||||
|
||||
override fun onAutoCompletion() {
|
||||
super.onAutoCompletion()
|
||||
Logger.d("liyz", "onAutoCompletion ------> ")
|
||||
}
|
||||
|
||||
override fun showWifiDialog() {
|
||||
|
||||
Reference in New Issue
Block a user