优化放走丢协议同步联系人时出错的bug
authork.liang <liangkang648253071@126.com>
Wed, 28 Jul 2021 03:54:02 +0000 (11:54 +0800)
committerk.liang <liangkang648253071@126.com>
Wed, 28 Jul 2021 03:54:02 +0000 (11:54 +0800)
app/release/output.json
app/src/main/java/com/ic/protocols/protocol_fzd.java
app/version_code.properties

index ec39c4c..bc07dc5 100644 (file)
@@ -1 +1 @@
-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":900,"versionName":"2107271031","enabled":true,"outputFile":"ICSer_V900_2107271031_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V900_2107271031_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":901,"versionName":"2107271436","enabled":true,"outputFile":"ICSer_V901_2107271436_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V901_2107271436_release.apk","properties":{}}]
\ No newline at end of file
index 408129b..c189128 100644 (file)
@@ -93,7 +93,7 @@ public class protocol_fzd {
     private static final String CMD_HEADER_SPLIT = "*";
     private static final String CMD_SPLIT = ",";
     private static final boolean doEncryption = Util.getSystemProperties("persist.sys.encrypt_fzd", "true").equals("true");
-    public static final String defaultServerIP = "api.xcloudtech.com";
+    public static final String defaultServerIP = "fzd.xcloudtech.com";
     public static final int defaultServerPort = 9000;
     private final SharedPreferences sharedPreferences;
     private final Handler mHandler;
@@ -2875,6 +2875,10 @@ public class protocol_fzd {
             ICLogger.d("members result == > " + str);
             //对数据进行切割
             String[] split = str.split(CMD_SPLIT);
+            if(split != null && split.length % 3 != 0){
+                str = str + "0";
+                split = str.split(CMD_SPLIT);
+            }
             //每3个为一组
             ICLogger.d("split.length = > " + split.length);
             if (split.length % 3 != 0) {
index 7deee07..4f89419 100644 (file)
@@ -1,2 +1,2 @@
-#Tue Jul 27 10:31:45 CST 2021\r
-VERSION_CODE=900\r
+#Tue Jul 27 14:36:38 CST 2021\r
+VERSION_CODE=901\r