Commit d08e8440 authored by mengcuiguang2's avatar mengcuiguang2

代码优化

parent 4c992d5b
......@@ -461,7 +461,7 @@ object WifiDataManager {
* isBlack=true 表示 是反策略黑名单
* @return true 不弹 false 弹
*/
private fun isBlackOrClose(): Boolean {
fun isBlackOrClose(): Boolean {
val isBlack = AntiAuditManager.instance.isBlack()
LogUtil.d(
......
......@@ -8,6 +8,7 @@ import com.mints.flowbox.MintsApplication
import com.mints.flowbox.R
import com.mints.flowbox.ad.video.PreCsjGroMoreVideoAdManager
import com.mints.flowbox.common.Constant
import com.mints.flowbox.manager.wifi.WifiDataManager
import com.mints.flowbox.ui.activitys.base.BaseActivity
import com.mints.flowbox.utils.TimeRender
import com.mints.flowbox.utils.ToastUtil
......@@ -46,6 +47,11 @@ class AboutusActivity : BaseActivity(), View.OnClickListener {
true
}
tvAboutasVersion.setOnLongClickListener {
ToastUtil.showLong(MintsApplication.getContext(),"true不弹,false弹"+WifiDataManager.isBlackOrClose())
true
}
initListener()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment