1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-23 04:41:16 +00:00

Switch back to default asynctask executor for unlimited queue size

This commit is contained in:
Felix Ableitner 2016-11-28 00:01:26 +09:00
parent 7b192d7df2
commit d2323b5c1d

View file

@ -62,10 +62,6 @@ public abstract class RestTask extends
mListener = listener; mListener = listener;
} }
public void execute() {
super.executeOnExecutor(THREAD_POOL_EXECUTOR);
}
protected HttpsURLConnection openConnection(Map<String, String> params) throws IOException { protected HttpsURLConnection openConnection(Map<String, String> params) throws IOException {
Uri.Builder uriBuilder = Uri.parse(mUrl.toString()) Uri.Builder uriBuilder = Uri.parse(mUrl.toString())
.buildUpon() .buildUpon()