Colin Mahoney
8374b3dd67
CB-5631 Removed SimpleTrackingInputStream.read(byte[] buffer)
...
InputStream.read(byte[] buffer) calls InputStream.read(byte[] bytes, int
offset, int count). As SimpleTrackingInputStream overrides both these
methods a call to SimpleTrackingInputStream.read(byte[] buffer) results
in a call to SimpleTrackingInputStream.read(byte[] bytes, int offset,
int count) - and two calls to SimpleTrackingInputStream.updateBytesRead,
so the counter bytesRead gets incremented twice for each read.
2014-01-10 12:16:26 -05:00
Andrew Grieve
3c1ff16064
CB-5762 android: Fix lengthComputable set wrong for gzip downloads
...
Gzip + no Content-Length header should be lengthComputable=false
2014-01-10 11:45:59 -05:00
Andrew Grieve
9a125991f7
[CB-4417] Move cordova-plugin-file-transfer to its own Java package.
2013-08-14 15:33:18 -07:00
Andrew Grieve
a83011685d
Fix NPE in mobile-spec Upload of an unknown host test.
...
Was happening over cell connection.
2013-08-14 15:33:18 -07:00
Andrew Grieve
d29f2b044b
[android] [CB-3384] Make FileTransfer use CordovaResourceApi.
2013-07-16 11:05:34 -04:00
Max Woghiren
fd6ef121ae
[CB-1605] Warning cleanup! Closed an input stream.
...
Also removed imports.
2013-07-11 17:44:58 -04:00
Andrew Grieve
f1c7749382
Use UriResolvers in FileTransfer. Fixes mobile-spec test where source is a file:// URL.
2013-07-10 15:14:00 -04:00
Ian Clelland
e4559a21d7
[CB-3430] [CB-1413] Remove Old (2.3.3) HTTP Workaround
...
Cherry-picked from 2.x branch of cordova-android [01946dd4]
2013-07-10 12:01:04 -04:00
Andrew Grieve
cdb45cd931
[CB-4038] - Remove o.a.c.api namespace
2013-07-10 09:31:32 -04:00
Joe Bowser
feb16bf341
Updating FileTransfer based on changes in master, read pre-3.0 commit history for author info
2013-05-13 11:42:24 -07:00
Joe Bowser
35e89b3aec
Initial Commit
2013-04-02 15:42:06 -07:00