Browse Source

Remove log state from Android file response handler function #353

Ben Hsieh 7 years ago
parent
commit
7752ff70f8

+ 0
- 1
android/src/main/java/com/RNFetchBlob/Response/RNFetchBlobFileResp.java View File

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
                 }