mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-07 14:53:00 +08:00
CB-4465: Supporting 2.9.x for a period of time
This commit is contained in:
parent
654d489c01
commit
cd4a316a91
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user