Merge "Fix captive portal can't show certificate problem" am: 1bbb08b87f
am: 060b94c618
Change-Id: I64b05adcb46baf3fca116dbdc5177bc31c71e06d
This commit is contained in:
@@ -485,7 +485,10 @@ public class CaptivePortalLoginActivity extends Activity {
|
|||||||
if (request.isForMainFrame()) {
|
if (request.isForMainFrame()) {
|
||||||
mMainFrameUrl = request.getUrl().toString();
|
mMainFrameUrl = request.getUrl().toString();
|
||||||
}
|
}
|
||||||
return false;
|
// Be careful that two shouldOverrideUrlLoading methods are overridden, but
|
||||||
|
// shouldOverrideUrlLoading(WebView view, String url) was deprecated in API level 24.
|
||||||
|
// TODO: delete deprecated one ??
|
||||||
|
return shouldOverrideUrlLoading(view, mMainFrameUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
// A web page consisting of a large broken lock icon to indicate SSL failure.
|
// A web page consisting of a large broken lock icon to indicate SSL failure.
|
||||||
|
|||||||
Reference in New Issue
Block a user