version:2.8
fix:修复无网络连接时请求接口报错 update:优化网络请求
This commit is contained in:
@@ -1250,9 +1250,11 @@ public class Utils {
|
||||
jsonObject.addProperty("use_ram", use_ram);
|
||||
jsonObject.addProperty("wifi_ssid", getWifiSSID(context));
|
||||
jsonObject.addProperty("wifi_time", wifi_time);
|
||||
jsonObject.addProperty("boot_time", SystemClock.elapsedRealtime());
|
||||
// jsonObject.addProperty("boot_time", SystemClock.elapsedRealtime());
|
||||
jsonObject.addProperty("boot_time", 0);
|
||||
jsonObject.addProperty("battery_capacity", getBatterymAh(context));
|
||||
jsonObject.addProperty("wifi_signal", info.getRssi());
|
||||
// jsonObject.addProperty("wifi_signal", info.getRssi());
|
||||
jsonObject.addProperty("wifi_signal", 0);
|
||||
jsonObject.addProperty("bluetooth", getBluetoothList());
|
||||
Log.e(TAG, "getHardware: " + jsonObject.toString());
|
||||
return jsonObject.toString();
|
||||
|
||||
Reference in New Issue
Block a user