summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/CallbackProxy.java
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2010-08-10 07:59:15 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2010-09-13 10:21:34 -0700
commit585f13f8dec4cbf55b3bc04d95425d647f0577b2 (patch)
tree977ff37237480ea56771594c9c1166bd6f368cbd /core/java/android/webkit/CallbackProxy.java
parent569a57dc01ad56de21da044258febf85e4bba654 (diff)
Accessibility support for WebViews
Change-Id: Ibb139192bae4d60fd53a7872b19c06312bb41558
Diffstat (limited to 'core/java/android/webkit/CallbackProxy.java')
-rw-r--r--core/java/android/webkit/CallbackProxy.java13
1 files changed, 3 insertions, 10 deletions
diff --git a/core/java/android/webkit/CallbackProxy.java b/core/java/android/webkit/CallbackProxy.java
index 1b5651b324c8..b00f88cbf85e 100644
--- a/core/java/android/webkit/CallbackProxy.java
+++ b/core/java/android/webkit/CallbackProxy.java
@@ -256,17 +256,10 @@ class CallbackProxy extends Handler {
// 32-bit reads and writes.
switch (msg.what) {
case PAGE_STARTED:
- // every time we start a new page, we want to reset the
- // WebView certificate:
- // if the new site is secure, we will reload it and get a
- // new certificate set;
- // if the new site is not secure, the certificate must be
- // null, and that will be the case
- mWebView.setCertificate(null);
+ String startedUrl = msg.getData().getString("url");
+ mWebView.onPageStarted(startedUrl);
if (mWebViewClient != null) {
- mWebViewClient.onPageStarted(mWebView,
- msg.getData().getString("url"),
- (Bitmap) msg.obj);
+ mWebViewClient.onPageStarted(mWebView, startedUrl, (Bitmap) msg.obj);
}
break;