Do not check mWebTextView's focus state to determine editing mode.

Fix for bug 2568400.

Change-Id: I7e285388484bbab3aef9b6f4bb190e001266ce53
This commit is contained in:
Leon Scroggins
2010-04-09 14:54:46 -04:00
parent c58b42327d
commit 63284ede62

View File

@@ -1722,8 +1722,7 @@ public class WebView extends AbsoluteLayout
* Return true if the browser is displaying a TextView for text input.
*/
private boolean inEditingMode() {
return mWebTextView != null && mWebTextView.getParent() != null
&& mWebTextView.hasFocus();
return mWebTextView != null && mWebTextView.getParent() != null;
}
/**