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

Commit 06829a62 authored by Mihai Popa's avatar Mihai Popa Committed by android-build-merger
Browse files

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

am: e385255d

Change-Id: Ib094039b1c515af77fcc3c051352de5cb15861cb
parents 3f4c1ece e385255d
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];