We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0866665 commit 2dc5732Copy full SHA for 2dc5732
library/src/main/java/com/qiniu/android/http/HttpManager.java
@@ -20,7 +20,6 @@ public final class HttpManager {
20
private static final String userAgent = getUserAgent();
21
private AsyncHttpClient client;
22
23
-
24
public HttpManager(Proxy proxy) {
25
client = new AsyncHttpClient();
26
client.setConnectTimeout(Config.CONNECT_TIMEOUT);
@@ -32,6 +31,10 @@ public HttpManager(Proxy proxy) {
32
31
}
33
34
+ public HttpManager() {
35
+ this(null);
36
+ }
37
+
38
private static String genId() {
39
Random r = new Random();
40
return System.currentTimeMillis() + "" + r.nextInt(999);
0 commit comments