From d033ade272f49f854e0beadccc33a79883adef4c Mon Sep 17 00:00:00 2001 From: donghongyu Date: Tue, 30 Nov 2021 16:48:31 +0800 Subject: [PATCH] =?UTF-8?q?[Add]=E5=A2=9E=E5=8A=A0=E6=98=AF=E5=90=A6Toast?= =?UTF-8?q?=20=E6=8F=90=E7=A4=BA=E9=94=99=E8=AF=AF=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/deploymentTargetDropDown.xml | 17 -------------- .../passport/MoGoAiCloudClientConfig.java | 23 +++++++++++++++++++ gradle.properties | 2 +- 3 files changed, 24 insertions(+), 18 deletions(-) delete mode 100644 .idea/deploymentTargetDropDown.xml diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index 41850f6..0000000 --- a/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/foudations/mogo-passport/src/main/java/com/mogo/cloud/passport/MoGoAiCloudClientConfig.java b/foudations/mogo-passport/src/main/java/com/mogo/cloud/passport/MoGoAiCloudClientConfig.java index a0022fc..9e9d9ae 100644 --- a/foudations/mogo-passport/src/main/java/com/mogo/cloud/passport/MoGoAiCloudClientConfig.java +++ b/foudations/mogo-passport/src/main/java/com/mogo/cloud/passport/MoGoAiCloudClientConfig.java @@ -61,6 +61,10 @@ public class MoGoAiCloudClientConfig { * 是否打印日志 */ private boolean isShowDebugLog = true; + /** + * 是否Toast日志 + */ + private boolean isShowToastLog = true; /** * 因为ZeGo的房间限制,这里需要区分出,SDK提供给的是观众还是主播 @@ -283,6 +287,25 @@ public class MoGoAiCloudClientConfig { isShowDebugLog = showDebugLog; } + /** + * 是否打Toast日志 + * + * @return true-打印日志,false-不打印日志 + */ + public boolean isShowToastLog() { + return isShowToastLog; + } + + + /** + * 设置是否Toast日志 + * + * @param showToastLog true-打印日志,false-不打印日志 + */ + public void setShowDebugToast(boolean showToastLog) { + isShowToastLog = showToastLog; + } + /** * 获取HttpDns检查时间间隔 * diff --git a/gradle.properties b/gradle.properties index 7fc3ec2..8cb3710 100644 --- a/gradle.properties +++ b/gradle.properties @@ -33,7 +33,7 @@ SNAPSHOT_REPOSITORY_URL=http://nexus.zhidaoauto.com/repository/maven-snapshots/ USERNAME=xintai PASSWORD=xintai2018 # 编译模式: false - 依赖本地版本, true - 依赖 maven 版本 -RELEASE=true +RELEASE=false # AI CLOUD 云平台 # 工具类 MOGO_UTILS_VERSION=1.3.13