Skip to content

Commit

Permalink
Forgot to change version in Connection.java
Browse files Browse the repository at this point in the history
  • Loading branch information
adolfintel committed Dec 31, 2019
1 parent 44ce718 commit e81c393
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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){
Expand Down

0 comments on commit e81c393

Please sign in to comment.