diff options
author | Tarandeep Singh <tarandeep@google.com> | 2019-11-04 13:40:15 -0800 |
---|---|---|
committer | Tarandeep Singh <tarandeep@google.com> | 2019-11-08 11:23:35 -0800 |
commit | 0ffa15ab5f2efb152ad9f7e1c9b74aa3e267e92a (patch) | |
tree | ef77d80cd10ba7144a3b1ca08df052aade76e5b5 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 38936c1db5623764a4f500adf6b9a23a362f3e7c (diff) |
Window with FLAG_NOT_FOCUSABLE cant be IME target.
Any window that sets FLAG_NOT_FOCUSABLE should not be considered IME target.
IME subsystem starts input on a window when it receives focus, if window never
intended to receive focus, it should not considered an IME target either.
Also, fix the broken javadoc for ALT_FOCUSABLE_IM.
Fix: 143898978
Bug: 140641950
Test: atest WindowStateTests
atest FocusHandlingTest
atest WindowManager_LayoutParamsTest
Also manually using steps:
1. Launch gmail compose activity
2. start typing in receipient field
3. verify that suggestions popup window w/ FLAG_NOT_FOCUSABLE doesn't
become IME target.
Change-Id: Ifa8e7345c2c9ad3730df86100003918b12fb533e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions