summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Yohei Yukawa <yukawa@google.com> 2023-05-09 16:13:33 +0000
committer Yohei Yukawa <yukawa@google.com> 2023-05-09 16:13:33 +0000
commit2fdfaa2a07534752d16e9dbc43fa45926b627fc5 (patch)
treeaa84921a7e8f1e100e9151ef10a6e0375ee426a4 /libs/androidfw/FileStream.cpp
parent7c8d60cd6630f45b233de2729f1cf5a89870ce2b (diff)
Implement InputConnectionWrapper#replaceText()
This is a follow up CL to our previous CL [1], which forgot to implement InputConnectionWrapper#replaceText(). As a result, it has alreays fallen back to the slow path even if the wrapped InputConnection does have more efficient implementation of InputConnection#replaceText(). With this CL, wrapped InputConnection can also start taking advantage of the optimized version of InputConnection#replaceText() if available. This CL also adds InputConnectionWrapperTest#verifyAllMethodsWrapped() to verify that tall the default methods defined in InputConnection are implemented in InputConnectionWrapper. [1]: Ia0e42270cfae112fcf19205a7151e4ab4ac4afdd d5d530ad63dbabc92125213b4823235b0edc6aa9 Bug: 241503197 Fix: 279960381 Fix: 281150084 Test: atest FrameworksCoreTests:InputConnectionWrapperTest Change-Id: I02a3549f72bf969812bb924a51c18fc81a2668af
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions