Skip to content

Commit ef0e7f1

Browse files
author
lucas
committed
添加 imsi默认值
1 parent 3a0bd53 commit ef0e7f1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

VideoOS/VenvyLibrary/src/main/java/cn/com/venvy/CommonParam.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ public static JSONObject getCommonParamJson(String appKey) {
7878
paramMap.put(MAC, macAddress);
7979
}
8080
String imsi = VenvyDeviceUtil.getIMSI(context);
81-
if (!TextUtils.isEmpty(imsi)) {
82-
paramMap.put(IMSI, imsi);
83-
}
81+
paramMap.put(IMSI, TextUtils.isEmpty(imsi) ? " " : imsi);
8482
return new JSONObject(paramMap);
8583
}
8684
}

0 commit comments

Comments
 (0)