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

Commit 014a8959 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix crash during cursor moving on BiDi text"

parents b727f7eb 960647d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1594,7 +1594,7 @@ public abstract class Layout {
        }

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