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

Commit b7a2d47e authored by Android Build Merger (Role)'s avatar Android Build Merger (Role)
Browse files

[automerger] Fix crash during cursor moving on BiDi text am: 95218ce7

Change-Id: Id97c3f508a0dcd82978b06891b3a979921d4be3a
parents 70e4dec5 95218ce7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1348,7 +1348,8 @@ public abstract class Layout {
        }

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