瀏覽代碼

Remove log state from Android file response handler function #353

Ben Hsieh 8 年之前
父節點
當前提交
7752ff70f8
共有 1 個檔案被更改,包括 0 行新增1 行删除
  1. 0
    1
      android/src/main/java/com/RNFetchBlob/Response/RNFetchBlobFileResp.java

+ 0
- 1
android/src/main/java/com/RNFetchBlob/Response/RNFetchBlobFileResp.java 查看文件

81
                 byte[] bytes = new byte[(int) byteCount];
81
                 byte[] bytes = new byte[(int) byteCount];
82
                 long read = originalBody.byteStream().read(bytes, 0, (int) byteCount);
82
                 long read = originalBody.byteStream().read(bytes, 0, (int) byteCount);
83
                 bytesDownloaded += read > 0 ? read : 0;
83
                 bytesDownloaded += read > 0 ? read : 0;
84
-                Log.i("bytes downloaded", String.valueOf(byteCount) + "/" + String.valueOf(read) + "=" + String.valueOf(bytesDownloaded));
85
                 if (read > 0) {
84
                 if (read > 0) {
86
                     ofStream.write(bytes, 0, (int) read);
85
                     ofStream.write(bytes, 0, (int) read);
87
                 }
86
                 }