Cronet:优化预下载逻辑

pull/1181/head
ag2s20150909 3 years ago
parent 889286bd4d
commit 350ef56ddf
  1. 4
      app/src/main/java/io/legado/app/help/http/cronet/CronetLoader.java

@ -156,8 +156,8 @@ public class CronetLoader extends CronetEngine.Builder.LibraryLoader {
private static String getUrlMd5(String url) {
InputStream inputStream = null;
OutputStream outputStream = null;
InputStream inputStream;
OutputStream outputStream;
try {
outputStream = new ByteArrayOutputStream();
HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection();

Loading…
Cancel
Save