diff options
| author | Lan Wei <azurewei@google.com> | 2020-11-27 19:05:08 +0800 |
|---|---|---|
| committer | Lan Wei <azurewei@google.com> | 2020-12-03 09:34:58 +0800 |
| commit | 10204965455fdda6bdda83730883e4b12a02fc08 (patch) | |
| tree | 1d784ab1d8540419c5ab059f4f0121cd9a4e18f7 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | 33c1aa7e528b2115b727bcd92824cc65ac389f32 (diff) | |
Add EditorInfo#getInitialSurroundingText API
Add EditorInfo#getInitialSurroundingText() to support retrieving
surrounding text arround cursor with one API, similar to
InputConnection#getSurroundingText().
Migreate EditorInfo#InitialSurroundingText class to use SurroundingText.
Create a copy of the surrounding text when creating EditorInfo instance.
Bug: 167947745
Bug: 122691437
Test: atest FrameworksCoreTests:EditorInfoTest
Test: atest CtsInputMethodTestCases:EditorInfoTest
Change-Id: I7fe1e585b75f7db5e57a14e4ac91cc9a3282f293
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
