Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74437532 authored by Raph Levien's avatar Raph Levien Committed by Android (Google) Code Review
Browse files

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

parents 74261d84 42ef515d
Loading
Loading
Loading
Loading
+14 −19
Original line number Diff line number Diff line
@@ -939,10 +939,6 @@ class TextLine {
                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) {
                jnext = mCharacterStyleSpanSet.getNextTransition(mStart + j, mStart + mlimit) -
                        mStart;
@@ -961,7 +957,6 @@ class TextLine {
                        top, y, bottom, fmi, needWidth || jnext < measureLimit);
            }
        }
        }

        return x - originalX;
    }