完善修改开服信息

This commit is contained in:
kehaoyuan
2018-05-30 11:14:21 +08:00
parent 08e8846af8
commit 7a019cc465
8 changed files with 91 additions and 39 deletions

View File

@ -103,9 +103,9 @@ public class DataUtils {
// MTA ->【次数统计】Key-Value参数的事件
public static void onMtaEvent(Context context, String eventId, String... kv) {
if (CommonDebug.IS_DEBUG && (kv == null || kv.length % 2 != 0)) {
throw new IllegalStateException("onEvent kv 必须不为空且数量为偶数");
}
// if (CommonDebug.IS_DEBUG && (kv == null || kv.length % 2 != 0)) {
// throw new IllegalStateException("onEvent kv 必须不为空且数量为偶数");
// }
Properties prop = new Properties();
for (int i = 0; i < kv.length; i++) {
if (i % 2 != 0 || i != 0) {