mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-04-24 03:00:11 -04:00
Downloader would sometimes not return the directory name, depending on the code path
This commit is contained in:
@@ -117,6 +117,7 @@ public class Downloader extends Plugin {
|
||||
obj.put("status", 1);
|
||||
obj.put("total", fileSize);
|
||||
obj.put("file", fileName);
|
||||
obj.put("dir", dirName);
|
||||
obj.put("progress", progress);
|
||||
|
||||
return new PluginResult(PluginResult.Status.OK, obj);
|
||||
|
||||
Reference in New Issue
Block a user