Commit ac85446d authored by jyx's avatar jyx

优化代码

parent dacc956c
......@@ -13,6 +13,7 @@ import com.bytedance.msdk.api.nativeAd.*
import com.mints.flowbox.MintsApplication
import com.mints.flowbox.R
import com.mints.flowbox.common.Constant
import com.mints.flowbox.keepalive.appswitch.AntiAuditManager
import com.mints.flowbox.manager.CsjGroMoreManager
import com.mints.flowbox.manager.TrackManager
import com.mints.flowbox.ui.widgets.seekbar.BubbleUtils
......@@ -47,7 +48,7 @@ class AppOutScreenGroMoreCarrierExpressManager : TTSettingConfigCallback {
private var mTTAdNative: TTUnifiedNativeAd? = null
fun loadADFrameLayout() {
if (AntiShake.check(Random.nextInt(1234))) return
if (AntiShake.check(Random.nextInt(1234)) || AntiAuditManager.instance.isBlack()) return
val isOversped = TimeRender.isOversped45Min(adLoadTime, 45)
val isPreingOversped = TimeRender.isOversped45Min(adPreingTime, 2)
......
package com.mints.flowbox.ad
import android.os.Handler
import android.os.Looper
import android.text.TextUtils
import android.view.Gravity
import android.view.LayoutInflater
......@@ -15,6 +13,7 @@ import com.bytedance.msdk.api.nativeAd.*
import com.mints.flowbox.MintsApplication
import com.mints.flowbox.R
import com.mints.flowbox.common.Constant
import com.mints.flowbox.keepalive.appswitch.AntiAuditManager
import com.mints.flowbox.manager.CsjGroMoreManager
import com.mints.flowbox.manager.TrackManager
import com.mints.flowbox.ui.widgets.seekbar.BubbleUtils
......@@ -49,7 +48,7 @@ class AppOutSimpleGroMoreCarrierExpressManager : TTSettingConfigCallback {
private var mTTAdNative: TTUnifiedNativeAd? = null
fun loadADFrameLayout() {
if (AntiShake.check(Random.nextInt(1234))) return
if (AntiShake.check(Random.nextInt(1234)) || AntiAuditManager.instance.isBlack()) return
val isOversped = TimeRender.isOversped45Min(adLoadTime, 45)
val isPreingOversped = TimeRender.isOversped45Min(adPreingTime, 2)
......
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