Update for pluggable_webview android branch

This commit is contained in:
Ian Clelland
2014-05-15 13:40:10 -04:00
parent ef0853dbe8
commit 6a934aeb72

View File

@@ -795,7 +795,7 @@ public class FileTransfer extends CordovaPlugin {
Log.d(LOG_TAG, "Saved file: " + target);
// create FileEntry object
FileUtils filePlugin = (FileUtils)webView.pluginManager.getPlugin("File");
FileUtils filePlugin = (FileUtils)webView.getPluginManager().getPlugin("File");
if (filePlugin != null) {
JSONObject fileEntry = filePlugin.getEntryForFile(file);
if (fileEntry != null) {