From 1321e4defeccfd3f7d4cae49d2061b3c5d8db8fc Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 22 十一月 2023 12:16:10 +0800
Subject: [PATCH] 0312 增加切换账号,充值主线程,替换新的SdkProject/library/google-services.json但是手改包名是secondworld(观察)
---
Project/app/src/main/java/com/secondworld/univeralsdk/UniversalUtil.java | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Project/app/src/main/java/com/secondworld/univeralsdk/UniversalUtil.java b/Project/app/src/main/java/com/secondworld/univeralsdk/UniversalUtil.java
index 9f841c6..8b2a47c 100644
--- a/Project/app/src/main/java/com/secondworld/univeralsdk/UniversalUtil.java
+++ b/Project/app/src/main/java/com/secondworld/univeralsdk/UniversalUtil.java
@@ -389,4 +389,13 @@
return -1;
}
+ public static boolean isEmpty(String s) {
+ if (null == s)
+ return true;
+ if (s.length() == 0)
+ return true;
+ if (s.trim().length() == 0)
+ return true;
+ return false;
+ }
}
--
Gitblit v1.8.0