diff options
author | Yohei Yukawa <yukawa@google.com> | 2020-05-14 18:14:24 -0700 |
---|---|---|
committer | Yohei Yukawa <yukawa@google.com> | 2020-05-14 18:14:24 -0700 |
commit | 6e9768e9023b11e565a86e3590abbf53a244d7e7 (patch) | |
tree | d8a04e28a18401fd862a82c501e7353d74945c8d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8c211a713b538c83f686611b9c85683e82c38203 (diff) |
Make sure to call SomeArgs#recycle() in IMMS#handleMessage
This is a small follow up CL to our previous CL [1], which added a new
internal message MSG_INLINE_SUGGESTIONS_REQUEST and its handler that
rely on SomeArgs but forget to call SomeArgs#recycle().
Although not calling SomeArgs#recycle() doesn't immediately cause any
fatal issue, not doing so basically spoils the purpose of SomeArgs.
With this CL, InputMethodManagerService#handleMessage should call
SomeArgs#recycle() when necessary.
Other than that there is no behavior change.
[1]: Id222500c373898d576661cacb7a1cb51061041d4
bc67f2e15813ec05c07f18ef961e7303fd344ff1
Bug: 147037345
Test: atest CtsAutoFillServiceTestCases
Change-Id: I763bb78c7d1ada327abaa110d423309b17d831d8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions