From 8944520a3ae45ae6a79c0621dd98d65a9194c031 Mon Sep 17 00:00:00 2001 From: changsong Date: Wed, 8 Apr 2020 18:05:33 +0800 Subject: [PATCH] [BUG] convert string to a wrong type integer, should be long --- app/src/main/java/xdman/monitoring/MonitoringSession.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/xdman/monitoring/MonitoringSession.java b/app/src/main/java/xdman/monitoring/MonitoringSession.java index a84b255..b667217 100644 --- a/app/src/main/java/xdman/monitoring/MonitoringSession.java +++ b/app/src/main/java/xdman/monitoring/MonitoringSession.java @@ -579,7 +579,7 @@ public class MonitoringSession implements Runnable { itag = Integer.parseInt(val); } if (key.equals("clen")) { - clen = Integer.parseInt(val); + clen = Long.parseLong(val); } if (key.startsWith("mime")) { mime = URLDecoder.decode(val, "UTF-8");