summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAhaan Ugale <augale@google.com>2021-08-12 14:08:52 -0700
committerAhaan Ugale <augale@google.com>2021-08-12 14:21:00 -0700
commit273a0eabc8faa46349c63a6836ae4004709aeb0b (patch)
tree1e2c15df001776839c4d3369771fac35512d10a0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent23ee1b87bb87301a8f2f8044603b29141ae76a69 (diff)
Fix OOB crash in ContentCapture for translated views
When a view is partially visible on the screen, ContentCapture reports only the visible portion (+ a few additional lines). The offsets calculated for this can be out of bounds if the view's displayed text is longer from the original text. Fix: 196414491 Test: manual - translate app to lang with more characters and trigger a relayout (by scrolling for an app with ListView) Test: atest CtsContentCaptureServiceTestCases Change-Id: Iae98133c48cc67a0b00f1b0ab8b93e5adb293423
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions