From e81c393d22bdb57d44e7e66f9f38f100064cbc9c Mon Sep 17 00:00:00 2001 From: dosse91 Date: Tue, 31 Dec 2019 12:39:55 +0100 Subject: [PATCH] Forgot to change version in Connection.java --- .../main/java/com/fdossena/speedtest/core/base/Connection.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Speedtest-Android/app/src/main/java/com/fdossena/speedtest/core/base/Connection.java b/Speedtest-Android/app/src/main/java/com/fdossena/speedtest/core/base/Connection.java index 3d930f8..132be25 100644 --- a/Speedtest-Android/app/src/main/java/com/fdossena/speedtest/core/base/Connection.java +++ b/Speedtest-Android/app/src/main/java/com/fdossena/speedtest/core/base/Connection.java @@ -1,7 +1,6 @@ package com.fdossena.speedtest.core.base; import android.os.Build; -import android.util.Log; import java.io.InputStream; import java.io.InputStreamReader; @@ -22,7 +21,7 @@ public class Connection { private int mode=MODE_NOT_SET; private static final int MODE_NOT_SET=0, MODE_HTTP=1, MODE_HTTPS=2; - private static final String USER_AGENT="Speedtest-Android/1.1.2 (SDK "+Build.VERSION.SDK_INT+"; "+Build.PRODUCT+"; Android "+Build.VERSION.RELEASE+")", + private static final String USER_AGENT="Speedtest-Android/1.1.3 (SDK "+Build.VERSION.SDK_INT+"; "+Build.PRODUCT+"; Android "+Build.VERSION.RELEASE+")", LOCALE= Build.VERSION.SDK_INT>=21?Locale.getDefault().toLanguageTag():null; public Connection(String url, int connectTimeout, int soTimeout, int recvBuffer, int sendBuffer){