Commit 8a4618a6 authored by wanglei's avatar wanglei

...

parent 0a53bdbb
...@@ -81,11 +81,6 @@ object AdmobOpenUtils { ...@@ -81,11 +81,6 @@ object AdmobOpenUtils {
onHidden?.invoke(1) onHidden?.invoke(1)
return return
} }
if (isRetry){
val obj1 = JSONObject()
obj1.put("ad_unit", "openAd")
EventUtils.event("ad_prepare_show", ext = obj1)
}
if (System.currentTimeMillis() - openLoadTime > 1000 * 60 * 60) { if (System.currentTimeMillis() - openLoadTime > 1000 * 60 * 60) {
LogEx.logDebug(TAG, "openLoadTime out time") LogEx.logDebug(TAG, "openLoadTime out time")
mOpenAd = null mOpenAd = null
...@@ -96,6 +91,11 @@ object AdmobOpenUtils { ...@@ -96,6 +91,11 @@ object AdmobOpenUtils {
EventUtils.event("ad_expire", ext = obj2) EventUtils.event("ad_expire", ext = obj2)
return return
} }
if (!isRetry){
val obj1 = JSONObject()
obj1.put("ad_unit", "openAd")
EventUtils.event("ad_prepare_show", ext = obj1)
}
if (mOpenAd != null) { if (mOpenAd != null) {
LogEx.logDebug(TAG, "mOpenAd!=null") LogEx.logDebug(TAG, "mOpenAd!=null")
......
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