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

Commit e385255d authored by Mihai Popa's avatar Mihai Popa Committed by Android (Google) Code Review
Browse files

Merge "Fix crash during cursor moving on BiDi text" into oc-dev

parents 9d85c1ff f496a7cd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1553,7 +1553,8 @@ public abstract class Layout {
        }

        float get(final int offset) {
            if (mHorizontals == null) {
            if (mHorizontals == null || offset < mLineStartOffset
                    || offset >= mLineStartOffset + mHorizontals.length) {
                return getHorizontal(offset, mPrimary);
            } else {
                return mHorizontals[offset - mLineStartOffset];