summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2018-07-19 16:22:02 -0700
committerSeigo Nonaka <nona@google.com>2018-07-19 16:22:02 -0700
commit960647d582911ae7ab8b9491097898e6c313aaf1 (patch)
tree917b61292e7c758ad6ff382a96ada0a1fa7c3348 /rs/java/android/renderscript/Program.java
parentedf3e1fa2effc158d3be00a6e75fc06a6925362b (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
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions