From f360ae50706218ffbbc2ada93b849512ccab1a31 Mon Sep 17 00:00:00 2001 From: George Mount Date: Wed, 20 Jun 2012 16:26:17 -0700 Subject: [PATCH] Remove password change from updateTextfield. Password field change is no longer needed as it was used previously in WebTextView and is not needed without it. Change-Id: I7d5dc39825ee9eae77733d2a9560669cfe70ecf2 --- core/java/android/webkit/WebViewCore.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/core/java/android/webkit/WebViewCore.java b/core/java/android/webkit/WebViewCore.java index 7fb3afebbd969..617f776d3e8f6 100644 --- a/core/java/android/webkit/WebViewCore.java +++ b/core/java/android/webkit/WebViewCore.java @@ -2779,14 +2779,11 @@ public final class WebViewCore { } // called by JNI - private void updateTextfield(int ptr, boolean changeToPassword, - String text, int textGeneration) { + private void updateTextfield(int ptr, String text, int textGeneration) { if (mWebViewClassic != null) { - Message msg = Message.obtain(mWebViewClassic.mPrivateHandler, + Message.obtain(mWebViewClassic.mPrivateHandler, WebViewClassic.UPDATE_TEXTFIELD_TEXT_MSG_ID, ptr, - textGeneration, text); - msg.getData().putBoolean("password", changeToPassword); - msg.sendToTarget(); + textGeneration, text).sendToTarget(); } }