From cb2729433e66ad1e8a5058122cd769b7c770db06 Mon Sep 17 00:00:00 2001 From: 18142669586 <1669783059@qq.com> Date: Sun, 2 Jun 2024 14:44:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8A=E4=B8=8B=E6=BB=91?= =?UTF-8?q?=E5=8A=A8=E9=BB=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/agora/beautyapi/faceunity/agora/SWAuManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/agora/SWAuManager.java b/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/agora/SWAuManager.java index 7a6c7afe8..3ac3ec00f 100644 --- a/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/agora/SWAuManager.java +++ b/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/agora/SWAuManager.java @@ -354,7 +354,7 @@ public class SWAuManager extends BaseCacheManager { } public static String getChannelName(String liveUid) { - if (liveUid.contains("g")) { + if ( liveUid != null &&liveUid.contains("g")) { return liveUid; } else { return CommonAppConfig.SWChannelPrefix + liveUid;