summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2016-01-13 22:48:14 -0800
committerYohei Yukawa <yukawa@google.com>2016-01-13 22:48:14 -0800
commitc89e22a6ff227089fde26daea186346029d1b32c (patch)
tree7e35fffa8eedb1225e4b34ca139796bc819bfdff /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta1dcb87565ab9a34ae14efebe4743701068cffad (diff)
Introdude IC#deleteSurroundingTextInCodePoints().
This CL introduces a API variant of IC#deleteSurroundingText(), named IC#deleteSurroundingTextInCodePoints(). Major differences from the existing one are: - The lengths are supplied in code points rather than code units. - This API does nothing if there are one or more invalid surrogate pairs in the requested range. (Failure Atomicity) Note that due to the asynchronous nature of the input method architecture in Android, implementing the same logic in the input method side basically ends up with unreliable and unpredictable results. Bug: 6526420 Change-Id: I7f6a2c5d3d52079ae71623fd5e40d60c688dd5fb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions