[CB-1605] Warning cleanup! Removed deprecated use.
This commit is contained in:
parent
5110dbd0d5
commit
ed332b1e92
@ -38,7 +38,6 @@ import android.content.Context;
|
|||||||
import android.content.DialogInterface;
|
import android.content.DialogInterface;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
||||||
import android.graphics.Color;
|
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.text.InputType;
|
import android.text.InputType;
|
||||||
@ -518,12 +517,7 @@ public class InAppBrowser extends CordovaPlugin {
|
|||||||
settings.setJavaScriptEnabled(true);
|
settings.setJavaScriptEnabled(true);
|
||||||
settings.setJavaScriptCanOpenWindowsAutomatically(true);
|
settings.setJavaScriptCanOpenWindowsAutomatically(true);
|
||||||
settings.setBuiltInZoomControls(true);
|
settings.setBuiltInZoomControls(true);
|
||||||
/**
|
settings.setPluginState(android.webkit.WebSettings.PluginState.ON);
|
||||||
* 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);
|
|
||||||
|
|
||||||
//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();
|
||||||
|
Loading…
Reference in New Issue
Block a user