Merge "Fix typo in manual merge" into gingerbread-plus-aosp

This commit is contained in:
Adam Powell
2010-11-08 19:59:13 -08:00
committed by Android (Google) Code Review

View File

@@ -6847,7 +6847,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
return superResult;
}
if ((mMovement != null || onCheckIsTextEditor()) && isEnabled()
if ((mMovement != null || onCheckIsTextEditor()) && isEnabled() &&
mText instanceof Spannable && mLayout != null) {
if (hasInsertionController()) {
getInsertionController().onTouchEvent(event);