libsignal-service-java
libsignal-service-java copied to clipboard
fix unnecessary threadpool-creation
New OkHttpClients came with their own thread and connection pools. With newBuilder() we can create a new client with an already existing pool.
Fixes https://github.com/WhisperSystems/Signal-Android/issues/6283
See https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html for more information.