From efa9c4225fe7e89c4acb1eacedd392d79aee240d Mon Sep 17 00:00:00 2001 From: admin <2780501319@qq.com> Date: 星期四, 15 四月 2021 01:59:24 +0800 Subject: [PATCH] 影视豆界面完善 --- BuWanVideo/src/com/weikou/beibeivideo/util/ad/SplashAdUtil.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/BuWanVideo/src/com/weikou/beibeivideo/util/ad/SplashAdUtil.java b/BuWanVideo/src/com/weikou/beibeivideo/util/ad/SplashAdUtil.java index 1f9a666..191ce66 100644 --- a/BuWanVideo/src/com/weikou/beibeivideo/util/ad/SplashAdUtil.java +++ b/BuWanVideo/src/com/weikou/beibeivideo/util/ad/SplashAdUtil.java @@ -56,7 +56,8 @@ String channel = ManifestDataUtil.getAppMetaData(context, "UMENG_CHANNEL"); if (StringUtils.isNullOrEmpty(code)) code = BeibeiConstant.GDT_SPLASH_POSITION_ID; - skip.setVisibility(View.VISIBLE); + if (skip != null) + skip.setVisibility(View.VISIBLE); gdtSplashAD = new SplashAD(context, skip, code, new SplashADListener() { @Override public void onADDismissed() { -- Gitblit v1.8.0