• Seigo Nonaka's avatar
    Fix crash during cursor moving on BiDi text · 6033d76b
    Seigo Nonaka authored
    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: 78464361, 111580019
    Test: Manually done
    Change-Id: I5c5778718f6b397adbb1e4f2cf95e9f635f6e5c8
    (cherry picked from commit 960647d5)
    Merged-In: I5c5778718f6b397adbb1e4f2cf95e9f635f6e5c8
    (cherry picked from commit d30c55e3)
    6033d76b
Name
Last commit
Last update
apct-tests/perftests Loading commit data...
api Loading commit data...
cmds Loading commit data...
config Loading commit data...
core Loading commit data...
data Loading commit data...
docs Loading commit data...
drm Loading commit data...
graphics/java/android Loading commit data...
keystore Loading commit data...
legacy-test Loading commit data...
libs Loading commit data...
location Loading commit data...
lowpan Loading commit data...
media Loading commit data...
native Loading commit data...
nfc-extras Loading commit data...
obex Loading commit data...
opengl/java Loading commit data...
packages Loading commit data...
proto Loading commit data...
rs Loading commit data...
samples/training/network-usage Loading commit data...
sax Loading commit data...
services Loading commit data...
telecomm/java Loading commit data...
telephony/java Loading commit data...
test-runner Loading commit data...
tests Loading commit data...
tools Loading commit data...
vr Loading commit data...
wifi Loading commit data...
Android.bp Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
MODULE_LICENSE_APACHE2 Loading commit data...
NOTICE Loading commit data...
PREUPLOAD.cfg Loading commit data...
pathmap.mk Loading commit data...