From cd4a316a9113ac23f5ec761b1eed1d867af2a45b Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Tue, 30 Jul 2013 16:20:21 -0700 Subject: [PATCH] CB-4465: Supporting 2.9.x for a period of time --- framework/src/org/apache/cordova/InAppBrowser.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/framework/src/org/apache/cordova/InAppBrowser.java b/framework/src/org/apache/cordova/InAppBrowser.java index 7a39c5bb..88558dc6 100644 --- a/framework/src/org/apache/cordova/InAppBrowser.java +++ b/framework/src/org/apache/cordova/InAppBrowser.java @@ -519,9 +519,7 @@ public class InAppBrowser extends CordovaPlugin { * We need to be careful of this line as a future Android release may deprecate it out of existence. * Can't replace it with the API 8 level call right now as our minimum SDK is 7 until May 2013 */ - // @TODO: replace with settings.setPluginState(android.webkit.WebSettings.PluginState.ON) - settings.setPluginsEnabled(true); - + settings.setPluginState(android.webkit.WebSettings.PluginState.ON); //Toggle whether this is enabled or not! Bundle appSettings = cordova.getActivity().getIntent().getExtras(); boolean enableDatabase = appSettings == null ? true : appSettings.getBoolean("InAppBrowserStorageEnabled", true);