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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user