diff options
author | Joanne Chung <joannechung@google.com> | 2020-02-07 17:10:23 +0800 |
---|---|---|
committer | Joanne Chung <joannechung@google.com> | 2020-02-17 18:04:46 +0800 |
commit | 332c6a9a1f11c78a49eed8d3f93482618bfdbc88 (patch) | |
tree | 54ada541732ee821207c1b70a7559189c413d1ab /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions