summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPankaj Kanwar <pkanwar@google.com>2016-10-24 02:02:48 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-10-24 02:02:51 +0000
commit9cac4568e50687e9c0f85dedb2d9ee6a36bd0ff8 (patch)
tree6657d2c77dadf191f6e3fdde254c7477008bcb06
parent496d17f748b82bf9146615046ba964734ee83795 (diff)
parent625166377b2d7c5f09d1e7617b3eac3a464fba53 (diff)
downloadbase-9cac4568e50687e9c0f85dedb2d9ee6a36bd0ff8.tar.gz
Merge "CaptivePortalLogin: set mixed content policy to compatibility." into nyc-mr1-dev
-rw-r--r--packages/CaptivePortalLogin/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/CaptivePortalLogin/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java b/packages/CaptivePortalLogin/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java
index b58c87a5094d..bb8eb2cd0797 100644
--- a/packages/CaptivePortalLogin/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java
+++ b/packages/CaptivePortalLogin/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java
@@ -115,6 +115,7 @@ public class CaptivePortalLoginActivity extends Activity {
myWebView.clearCache(true);
WebSettings webSettings = myWebView.getSettings();
webSettings.setJavaScriptEnabled(true);
+ webSettings.setMixedContentMode(WebSettings.MIXED_CONTENT_COMPATIBILITY_MODE);
mWebViewClient = new MyWebViewClient();
myWebView.setWebViewClient(mWebViewClient);
myWebView.setWebChromeClient(new MyWebChromeClient());