Fixes mobile wifi stats timestamp value type.

This commit is contained in:
damencho 2019-07-25 00:19:17 +01:00 committed by Дамян Минков
parent 11f2e7291e
commit aca0469bd0
1 changed files with 1 additions and 2 deletions

View File

@ -144,8 +144,7 @@ class WiFiStatsModule
JSONObject result = new JSONObject();
result.put("rssi", rssi)
.put("signal", signalLevel)
.put("timestamp",
String.valueOf(System.currentTimeMillis()));
.put("timestamp", System.currentTimeMillis());
JSONArray addresses = new JSONArray();