From aca0469bd064c70487b909068bce2a0c6af359ea Mon Sep 17 00:00:00 2001 From: damencho Date: Thu, 25 Jul 2019 00:19:17 +0100 Subject: [PATCH] Fixes mobile wifi stats timestamp value type. --- .../sdk/src/main/java/org/jitsi/meet/sdk/WiFiStatsModule.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/android/sdk/src/main/java/org/jitsi/meet/sdk/WiFiStatsModule.java b/android/sdk/src/main/java/org/jitsi/meet/sdk/WiFiStatsModule.java index dd07b52f5..c17eb544f 100644 --- a/android/sdk/src/main/java/org/jitsi/meet/sdk/WiFiStatsModule.java +++ b/android/sdk/src/main/java/org/jitsi/meet/sdk/WiFiStatsModule.java @@ -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();