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

Commit 9ed957c2 authored by Raph Levien's avatar Raph Levien Committed by Android Git Automerger
Browse files

am 74437532: Merge "Fix for bug: Gmail (and other places): cursor placed on...

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

* commit '74437532':
  Fix for bug: Gmail (and other places): cursor placed on top of letter
parents 8f87ea2d 74437532
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;
    }