summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodServiceInternal.java
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2021-07-09 09:46:47 -0700
committerYohei Yukawa <yukawa@google.com>2021-07-09 09:46:47 -0700
commit26b594af104352c397200de2f0f40b8e2d1a1f04 (patch)
tree7a1251c5e5919299885bd6a572fb6d5f1eda0d24 /core/java/android/inputmethodservice/InputMethodServiceInternal.java
parent3beeb3e3c7134496d0c5001d419c5f9622977cb0 (diff)
Optimize InputConnectionProtoDumper a bit
This is a mechanical refactoring CL that has no behavior change. Currently all the utility methods defined in InputConnectionProtoDumper return ProtoOutputStream, while the returned instances will always be converted into byte[] eventually. With this CL, those utility methods return byte[] instances directly, which is expected to make it easier for ART/dexpreopt to do more optimizations such as code inlining because instances of ProtoOutputStream will no longer be escaped from those methods. Bug: 192412909 Test: atest CtsInputMethodTestCases Test: Manually verified that IME tracing still works Change-Id: I7b24aee5428da312972aa86b8658429b421490f8
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodServiceInternal.java')
0 files changed, 0 insertions, 0 deletions