mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-26 20:33:07 +08:00
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;
|
InputStream inputStream = null;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
outputStream = new FileOutputStream(file);
|
|
||||||
inputStream = getInputStream(connection);
|
inputStream = getInputStream(connection);
|
||||||
|
outputStream = new FileOutputStream(file);
|
||||||
synchronized (context) {
|
synchronized (context) {
|
||||||
if (context.aborted) {
|
if (context.aborted) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user