commit | 332c6a9a1f11c78a49eed8d3f93482618bfdbc88 | [log] [tgz] |
---|---|---|
author | Joanne Chung <joannechung@google.com> | Fri Feb 07 17:10:23 2020 +0800 |
committer | Joanne Chung <joannechung@google.com> | Mon Feb 17 18:04:46 2020 +0800 |
tree | 54ada541732ee821207c1b70a7559189c413d1ab | |
parent | cbb9454cd6861a2ca01dd1f8e5f6c844c673467d [diff] |
Keep a strong reference to the InlineContentCallbackImpl 1. Keep a strong reference to the contentCallback. 2. Make sure inflated() only allowed to be called once. Bug: 146524826 Test: atest CtsInputMethodTestCases:android.view.\ inputmethod.cts.InlineSuggestionTest Test: manual. Call inflate() twice and make sure the behavior is expected. Change-Id: Id9bd386269111d11a2b2c27e33832cac90061b61