apache/cordova-plugin-file-transfer — pull request #9 by superwoou (2013-10-29 06:44:24+00:00)
Title: Remove updateBytesRead in read(bytes[] buffer)

Prevent to increasing bytesRead twice
In SimpleTrackingInputStream.read(buffer), super.read(bytes) will call SimpleTrackingInputStream.read(bytes, 0, bytes.length). Threfore, remove updateBytesRead in read(bytes[] buffer).