diff options
author | Leon Scroggins <scroggo@google.com> | 2009-07-20 11:54:05 -0400 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2009-07-20 11:54:05 -0400 |
commit | 10c7a4da566e9faed84745b75e74b9d1cb410e3f (patch) | |
tree | a65e2c50a47f3c75260761369e500cfe601066cb /core/java | |
parent | 2e661a7c03be9c596423b18243c8a4ee3a67b8fe (diff) | |
download | frameworks_base-10c7a4da566e9faed84745b75e74b9d1cb410e3f.zip frameworks_base-10c7a4da566e9faed84745b75e74b9d1cb410e3f.tar.gz frameworks_base-10c7a4da566e9faed84745b75e74b9d1cb410e3f.tar.bz2 |
Clear the WebTextView in didFirstLayout.
When reaching a new page, remove the WebTextView. This
fixes a bug where the user logs into a site, and the
WebTextView remains on screen.
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/webkit/WebView.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index 4d345bb..c1ba690 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -4918,6 +4918,11 @@ public class WebView extends AbsoluteLayout } } setNewZoomScale(scale, false); + // As we are on a new page, remove the WebTextView. This + // is necessary for page loads driven by webkit, and in + // particular when the user was on a password field, so + // the WebTextView was visible. + clearTextEntry(); break; case MOVE_OUT_OF_PLUGIN: if (nativePluginEatsNavKey()) { |