summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorAhaan Ugale <augale@google.com>2021-08-12 14:08:52 -0700
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-08-17 01:10:08 +0000
commitcbe8bc36eb6f180dbdfb764679105612c5d0b363 (patch)
tree9b2e6c58aae74ebbc714efda139b6d09886e821e /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent842915025f1842ef397e2fa855a4866004ad813e (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 (cherry picked from commit 273a0eabc8faa46349c63a6836ae4004709aeb0b)
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions