summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2015-05-29 17:09:14 -0700
committerYohei Yukawa <yukawa@google.com>2015-05-29 17:44:51 -0700
commitb13f015ab519b3e553c03eba971ada89b472fbbc (patch)
treeafb33733df399970b85b8521e9d362fc0929eade /tools/aapt2/java/JavaClassGenerator_test.cpp
parent650a91356b59fe4100f624c0b32d397ec00d51d9 (diff)
Close input session when the view is detached from the window.
This is the 3rd trial to fix Bug 20820914. In followig CLs, we have tried to address a input session leak when the focused view is detached from the focused window by relying on IMM#focusOut() but failed because of regressions like Bug 21508503. - Ib4bd70ce0305a6bde6a929bcc6ad20a2b8402a97 - I219394178e4172bc47864297f1418e677dba25e5 - Id6afc8fc64512225578c62557b96c7dc2e969adf - Ib1b037594ebbb4ad4cf2d59e21c7a8ca9d8dc930 - I2228ae0c48ad3d9e0b55875f0dcb5ef8c55b0c5f What we have learned from Bug 21508503 was that re-enabling IMM#focusOut() probably requires much more work than we thought. Also relying on IMM#focusOut() might be overkill because the situation in Bug 20820914 is really special where the focused view is detached from the focused window hence we should be able to be fix the issue more conservatively by closing input session when and only when the focused view is detached from the focused view, rather than re-enabling IMM#focusOut() globally. Bug: 20820914 Change-Id: Iaf3fe2c065b5bf91e49a729ba46262114bb6da88
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions