From ea397af1230d5cdfcf3a3bb4f826c1ef08f34a2d Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Fri, 15 Sep 2023 16:55:36 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=BC=B9=E7=AA=97=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/common/manager/OpenAdManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/com/yunbao/common/manager/OpenAdManager.java b/common/src/main/java/com/yunbao/common/manager/OpenAdManager.java index 060c72714..d5a24c3a7 100644 --- a/common/src/main/java/com/yunbao/common/manager/OpenAdManager.java +++ b/common/src/main/java/com/yunbao/common/manager/OpenAdManager.java @@ -23,7 +23,7 @@ public class OpenAdManager { public static final int TYPE_LIVE = 2; private static final String TAG = "-----弹窗-----"; private Map showMap; - private List list = new ArrayList<>(); + private List list = null; private Handler handler = new Handler(Looper.getMainLooper()); private Map runnableMap = new HashMap<>(); private int showType; @@ -68,7 +68,7 @@ public class OpenAdManager { public synchronized void show(int type,boolean isGuard) { - if (list.isEmpty()) { + if (list==null) { init(true); return; }