Commit 095d1718 authored by jyx's avatar jyx

代码优化

parent 73b953e5
......@@ -70,6 +70,8 @@ class SignalStrengthActivity : BaseActivity(), View.OnClickListener {
}
private fun loadAd() {
if (Utils.canLoadAd()) {
if (mIsFromAppOut) {
WifiAdManager.instance.loadNoticeAppOutAd(this, Constant.CARRIER_WIFI_BOOST)
......@@ -78,6 +80,7 @@ class SignalStrengthActivity : BaseActivity(), View.OnClickListener {
WifiAdManager.instance.loadWifiAd(this, Constant.CARRIER_WIFI_BOOST)
}
}
}
private fun showAd() {
if (mIsFromAppOut) {
......
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