From e2bc95e845684f35d3c09f0ffc935aeedbf55259 Mon Sep 17 00:00:00 2001 From: liuxue <q3213421wrwqr> Date: 星期三, 19 五月 2021 22:24:51 +0800 Subject: [PATCH] 0000 港台ANDROID SDK更新 --- Project/app/src/main/java/com/secondworld/univeralsdk/UniversalUtil.java | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 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 f51d2b6..8b2a47c 100644 --- a/Project/app/src/main/java/com/secondworld/univeralsdk/UniversalUtil.java +++ b/Project/app/src/main/java/com/secondworld/univeralsdk/UniversalUtil.java @@ -22,7 +22,6 @@ import android.support.v4.content.PermissionChecker; import android.widget.Toast; -import com.reyun.tracking.sdk.Tracking; import com.unity3d.player.UnityPlayer; import org.json.JSONObject; @@ -375,6 +374,7 @@ public static int getMetaInt(Activity activity, String key) { + LogUtil.i(TAG, "灏嗚鑾峰彇鐨凪etaKey: " + key); PackageManager _pkgMgr = activity.getPackageManager(); ApplicationInfo _appInfo; try @@ -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