CB-4465: Supporting 2.9.x for a period of time

This commit is contained in:
Joe Bowser 2013-07-30 16:20:21 -07:00
parent 654d489c01
commit cd4a316a91

View File

@ -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. * 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 * 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.setPluginState(android.webkit.WebSettings.PluginState.ON);
settings.setPluginsEnabled(true);
//Toggle whether this is enabled or not! //Toggle whether this is enabled or not!
Bundle appSettings = cordova.getActivity().getIntent().getExtras(); Bundle appSettings = cordova.getActivity().getIntent().getExtras();
boolean enableDatabase = appSettings == null ? true : appSettings.getBoolean("InAppBrowserStorageEnabled", true); boolean enableDatabase = appSettings == null ? true : appSettings.getBoolean("InAppBrowserStorageEnabled", true);