Commit 76ea6157 authored by wangxuewei's avatar wangxuewei

[提交人]:王雪伟

[提交简述] :多多菜园
[实现方案] :加入小满
parent 8aefa040
...@@ -5,6 +5,7 @@ import android.content.Intent ...@@ -5,6 +5,7 @@ import android.content.Intent
import android.os.Bundle import android.os.Bundle
import android.text.TextUtils import android.text.TextUtils
import android.util.Log import android.util.Log
import com.bx.adsdk.AdSdk
import com.game.luckyfarm.UnityPlayerActivity import com.game.luckyfarm.UnityPlayerActivity
import com.umeng.analytics.MobclickAgent import com.umeng.analytics.MobclickAgent
import com.ym.game.activity.WxLoginActivity import com.ym.game.activity.WxLoginActivity
...@@ -67,6 +68,13 @@ class GameActivity : UnityPlayerActivity(), IDialogViewCloseCallback { ...@@ -67,6 +68,13 @@ class GameActivity : UnityPlayerActivity(), IDialogViewCloseCallback {
}, { }, {
}) })
//小满上报
if (Constant.isReportXiaoman)
{
AdSdk.exposure("2758", SettingPreference.getToken())
Constant.isReportXiaoman = false
}
} }
override fun onDestroy() { override fun onDestroy() {
......
...@@ -594,4 +594,5 @@ public class Constant { ...@@ -594,4 +594,5 @@ public class Constant {
} }
public static String ReportSessionId = ""; public static String ReportSessionId = "";
public static boolean isReportXiaoman = true;
} }
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