Merge change Ifcafa460 into eclair-mr2

* changes:
  fix multiple text areas, and text areas without focus rings
This commit is contained in:
Android (Google) Code Review
2009-10-21 14:14:46 -04:00

View File

@@ -138,7 +138,10 @@ import java.util.ArrayList;
}
if (!isArrowKey && !mOkayForFocusNotToMatch
&& mWebView.nativeFocusNodePointer() != mNodePointer) {
mWebView.nativeClearCursor();
if (mWebView.nativeCursorNodePointer() == mNodePointer) {
// remove cursor so character doesn't go back to this view
mWebView.nativeClearCursor();
}
// Do not call remove() here, which hides the soft keyboard. If
// the soft keyboard is being displayed, the user will still want
// it there.