Commit 66bf6259 authored by leichao.gao's avatar leichao.gao

update

parent 5eb327c4
......@@ -32,6 +32,7 @@ abstract class BaseActivity<T : ViewBinding> : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
EventUtils.event("page_${javaClass.simpleName}")
launcher = ActivityLauncher(this)
setContentView(binding.root)
isLightMode?.let {
......@@ -41,7 +42,6 @@ abstract class BaseActivity<T : ViewBinding> : AppCompatActivity() {
ActivityManagerUtils.getInstance().addActivity(this)
initView()
initListener()
EventUtils.event("page_${javaClass.simpleName}")
}
protected abstract fun initView()
......
......@@ -83,7 +83,7 @@ public class AdDisplayUtils {
JSONObject jsonObject = new JSONObject();
try {
jsonObject.put("reason", "shouldDisplayAd");
EventUtils.INSTANCE.event("ad_show_errron", "", jsonObject, false);
EventUtils.INSTANCE.event("ad_show_error", "", jsonObject, false);
} catch (JSONException e) {
}
}
......@@ -91,7 +91,7 @@ public class AdDisplayUtils {
JSONObject jsonObject = new JSONObject();
try {
jsonObject.put("reason", "shouldIncrementClickCount");
EventUtils.INSTANCE.event("ad_show_errron", "", jsonObject, false);
EventUtils.INSTANCE.event("ad_show_error", "", jsonObject, false);
} catch (JSONException e) {
}
}
......@@ -99,7 +99,7 @@ public class AdDisplayUtils {
JSONObject jsonObject = new JSONObject();
try {
jsonObject.put("reason", "shouldIncrementClickCount");
EventUtils.INSTANCE.event("ad_show_errron", "", jsonObject, false);
EventUtils.INSTANCE.event("ad_show_error", "", jsonObject, false);
} catch (JSONException e) {
}
}
......@@ -107,7 +107,7 @@ public class AdDisplayUtils {
JSONObject jsonObject = new JSONObject();
try {
jsonObject.put("reason", "shouldSendAdRequest");
EventUtils.INSTANCE.event("ad_show_errron", "", jsonObject, false);
EventUtils.INSTANCE.event("ad_show_error", "", jsonObject, false);
} catch (JSONException e) {
}
}
......
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