Merge "Moving focus on text should not create an Editor"

This commit is contained in:
Gilles Debunne
2012-03-28 11:05:43 -07:00
committed by Android (Google) Code Review

View File

@@ -5251,7 +5251,6 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
@Override
public InputConnection onCreateInputConnection(EditorInfo outAttrs) {
createEditorIfNeeded("onCreateInputConnection");
if (onCheckIsTextEditor() && isEnabled()) {
if (getEditor().mInputMethodState == null) {
getEditor().mInputMethodState = new InputMethodState();