恢复广点通和头条SDK

This commit is contained in:
juntao
2020-11-24 18:19:05 +08:00
parent 0397092414
commit 9dab3dd263
6 changed files with 72 additions and 51 deletions

View File

@ -29,9 +29,11 @@ import com.gh.common.constant.Constants;
import com.gh.common.dialog.PrivacyDialogFragment;
import com.gh.common.util.DataUtils;
import com.gh.common.util.DeviceTokenUtils;
import com.gh.common.util.DeviceUtils;
import com.gh.common.util.DialogUtils;
import com.gh.common.util.EmptyCallback;
import com.gh.common.util.GameSubstituteRepositoryHelper;
import com.gh.common.util.GdtHelper;
import com.gh.common.util.GsonUtils;
import com.gh.common.util.MtaHelper;
import com.gh.common.util.PackageUtils;
@ -51,6 +53,7 @@ import com.gh.gamecenter.retrofit.RetrofitManager;
import com.halo.assistant.HaloApp;
import com.lightgame.download.DownloadEntity;
import com.lightgame.download.FileUtils;
import com.qq.gdt.action.ActionType;
import org.jetbrains.annotations.NotNull;
import org.json.JSONObject;
@ -285,7 +288,7 @@ public class SplashScreenActivity extends BaseActivity {
// 在可能获取了相关权限后才初始化SDK/发送激活数据
TeaHelper.init(getApplication(), HaloApp.getInstance().getChannel());
// GdtHelper.INSTANCE.logAction(ActionType.START_APP, GdtHelper.NETWORK_TYPE, DeviceUtils.getNetwork(this));
GdtHelper.INSTANCE.logAction(ActionType.START_APP, GdtHelper.NETWORK_TYPE, DeviceUtils.getNetwork(this));
Bundle bundle = getIntent().getExtras();
Intent intent = new Intent(SplashScreenActivity.this, MainActivity.class);