diff options
author | Tarandeep Singh <tarandeep@google.com> | 2018-02-16 14:31:17 -0800 |
---|---|---|
committer | Tarandeep Singh <tarandeep@google.com> | 2018-02-21 19:24:24 +0000 |
commit | 93c00ceafbdab21f69ac12eb9ad5c93c4158e8bc (patch) | |
tree | d91510872f37c19dc8171fb646b155c3b80efdae /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1d84b1734ddf5c7c0daa59faae995ad1006f42e6 (diff) |
Unbind InputMethod when app crashes
If a running app (with bound InputMethod) crashes, the currently running InputMethod is not
unbound. As a result, onBindInput is not called.
In order to fix this, IMMS.removeClient() should also unbind the current client and clear
the flag IMMS.mBoundToMethod.
With the fix, I haven't seen any test failures mentioned in bug.
Bug: 72399950
Fixes: 73274813
Test: atest InputMethodServiceLifecycleTest && atest FocusHandlingTest
Change-Id: I0c09381b43a8b96480976edafbc0b0ee40ae5de0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions