Files
frameworks_base/core/java/android
Ahaan Ugale cbe8bc36eb 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 273a0eabc8)
2021-08-17 01:10:08 +00:00
..
2021-06-24 17:48:40 +00:00
2021-06-02 21:39:17 +00:00
2021-05-26 16:27:38 +00:00
2021-08-06 23:35:32 +00:00
2021-07-14 16:22:44 -04:00
…
2021-06-22 13:15:01 +01:00
2021-06-08 19:37:57 +00:00