Updated Branches: refs/heads/dev d647f689d -> 0a3c5587e
[CB-4792] Added keepCallback to the show function. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/commit/0a3c5587 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/tree/0a3c5587 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/diff/0a3c5587 Branch: refs/heads/dev Commit: 0a3c5587e36305ecacfa2d9568444020a8b2c2a8 Parents: d647f68 Author: Max Woghiren <[email protected]> Authored: Wed Sep 11 12:44:09 2013 -0400 Committer: Max Woghiren <[email protected]> Committed: Wed Sep 11 12:44:09 2013 -0400 ---------------------------------------------------------------------- src/android/InAppBrowser.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/blob/0a3c5587/src/android/InAppBrowser.java ---------------------------------------------------------------------- diff --git a/src/android/InAppBrowser.java b/src/android/InAppBrowser.java index 0dd1094..497c15b 100644 --- a/src/android/InAppBrowser.java +++ b/src/android/InAppBrowser.java @@ -203,7 +203,9 @@ public class InAppBrowser extends CordovaPlugin { } }; this.cordova.getActivity().runOnUiThread(runnable); - this.callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.OK)); + PluginResult pluginResult = new PluginResult(PluginResult.Status.OK); + pluginResult.setKeepCallback(true); + this.callbackContext.sendPluginResult(pluginResult); } else { return false;
