summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorLan Wei <azurewei@google.com>2020-11-27 19:05:08 +0800
committerLan Wei <azurewei@google.com>2020-12-03 09:34:58 +0800
commit10204965455fdda6bdda83730883e4b12a02fc08 (patch)
tree1d784ab1d8540419c5ab059f4f0121cd9a4e18f7 /tools/aapt2/diff/Diff.cpp
parent33c1aa7e528b2115b727bcd92824cc65ac389f32 (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 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions