Skip to content
Commit 6e9768e9 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

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
      bc67f2e1

Bug: 147037345
Test: atest CtsAutoFillServiceTestCases
Change-Id: I763bb78c7d1ada327abaa110d423309b17d831d8
parent 8c211a71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment