commit | 468f72f0164f18e3da3a8b2d5fc7fbc8c55def65 | [log] [tgz] |
---|---|---|
author | Charles Chen <charlesccchen@google.com> | Mon Jan 10 22:37:37 2022 +0800 |
committer | Charles Chen <charlesccchen@google.com> | Wed Jan 12 02:55:06 2022 +0000 |
tree | fc7dc6891de21bca6d3aa520d28f3653fcadeac0 | |
parent | 54fed092f842043cd0414c14a7d4e1f353f0cee9 [diff] |
[RESTRICT AUTOMERGE] Attempt to fix exception in IMS IMS might throw IllegalStateException in WindowContextController#attachToWindowToken when #initializeInternal is called. A possible root cause may be #initializeInternal is called after onDestroy, which detach IMS from ImeContainer. This CL add a flag in #onDestroy to prevent #initializeInternal from being called after #onDestroy. Bug: 211062619 Test: presubmit Change-Id: Ie7814da801878a3487123fefdc9e71d0e1ed28d7