am 74437532: Merge "Fix for bug: Gmail (and other places): cursor placed on top of letter" into jb-mr1-dev

* commit '74437532fe2a3e9ebd15c61327fd3f2b68c299b3':
  Fix for bug: Gmail (and other places): cursor placed on top of letter
This commit is contained in:
Raph Levien
2012-10-22 15:59:22 -07:00
committed by Android Git Automerger

View File

@@ -939,10 +939,6 @@ class TextLine {
continue; continue;
} }
if (c == null) {
x += handleText(wp, i, mlimit, i, inext, runIsRtl, c, x, top,
y, bottom, fmi, needWidth || mlimit < measureLimit);
} else {
for (int j = i, jnext; j < mlimit; j = jnext) { for (int j = i, jnext; j < mlimit; j = jnext) {
jnext = mCharacterStyleSpanSet.getNextTransition(mStart + j, mStart + mlimit) - jnext = mCharacterStyleSpanSet.getNextTransition(mStart + j, mStart + mlimit) -
mStart; mStart;
@@ -961,7 +957,6 @@ class TextLine {
top, y, bottom, fmi, needWidth || jnext < measureLimit); top, y, bottom, fmi, needWidth || jnext < measureLimit);
} }
} }
}
return x - originalX; return x - originalX;
} }