diff options
author | Seigo Nonaka <nona@google.com> | 2018-07-19 16:22:02 -0700 |
---|---|---|
committer | Mihai Popa <popam@google.com> | 2018-08-15 00:26:02 +0000 |
commit | 95218ce7ea43c7633ca8c9f6e2aca9baaba4c3e5 (patch) | |
tree | f1d26ce29af677409d0efc2678e520b3f46f92a4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 448b5656625d27da0003e5eef39b5801b2eebcb6 (diff) |
Fix crash during cursor moving on BiDi text
The crash was introduced by Ib66ef392c19c937718e7101f6d48fac3abe51ad0
The root cause of the crashing is requesting out-of-line access for the
horizontal width. This invalid access is silently ignored by
TextLine#measure() method but new implementation end up with out of
bounds access.
To makes behavior as old implementation, calling getHorizontal instead
of accessing measured result array.
Bug: 111580019
Test: Manually done
Change-Id: I5c5778718f6b397adbb1e4f2cf95e9f635f6e5c8
Merged-In: Ib66ef392c19c937718e7101f6d48fac3abe51ad0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions