From d27fa2154fe6c6b40048333e75ac11f1a3f5fac5 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 01 四月 2021 19:09:08 +0800 Subject: [PATCH] PPTV优化,相关bug修改 --- 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