forked from github/cordova-android
CB-2171: Patches are welcome.
This commit is contained in:
parent
57fc49ddc2
commit
29230d0316
@ -680,8 +680,8 @@ public class FileTransfer extends CordovaPlugin {
|
||||
InputStream inputStream = null;
|
||||
|
||||
try {
|
||||
outputStream = new FileOutputStream(file);
|
||||
inputStream = getInputStream(connection);
|
||||
outputStream = new FileOutputStream(file);
|
||||
synchronized (context) {
|
||||
if (context.aborted) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user