From 7c04c8301daa9d7b6d9bf5bbe5b29b389d3f45c3 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 08 五月 2021 12:50:28 +0800
Subject: [PATCH] 3.9.5完善

---
 BuWanVideo/src/com/weikou/beibeivideo/ui/mine/PPTVPlayFragment.java |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/BuWanVideo/src/com/weikou/beibeivideo/ui/mine/PPTVPlayFragment.java b/BuWanVideo/src/com/weikou/beibeivideo/ui/mine/PPTVPlayFragment.java
index b8df095..3f33594 100644
--- a/BuWanVideo/src/com/weikou/beibeivideo/ui/mine/PPTVPlayFragment.java
+++ b/BuWanVideo/src/com/weikou/beibeivideo/ui/mine/PPTVPlayFragment.java
@@ -738,7 +738,10 @@
                             }
                             if (state.isShowInterstitialAd())
                                 showInterstitialAd();
-                            startPlayAd();
+                            if (state.isShowPreVideoAd())
+                                startPlayAd();
+                            else
+                                adPlayFinish();
                         }
                     } else {
                         if (AdUtil.isGetPPTVNoAdReward(BeibeiVideoApplication.application)) {
@@ -1072,6 +1075,15 @@
         private Integer playPosition;
         //鏄惁鏄剧ず鎻掑睆骞垮憡
         private boolean showInterstitialAd;
+        private boolean showPreVideoAd;
+
+        public boolean isShowPreVideoAd() {
+            return showPreVideoAd;
+        }
+
+        public void setShowPreVideoAd(boolean showPreVideoAd) {
+            this.showPreVideoAd = showPreVideoAd;
+        }
 
         public boolean isShowInterstitialAd() {
             return showInterstitialAd;

--
Gitblit v1.8.0