diff options
author | Taran Singh <tarandeep@google.com> | 2019-10-10 14:38:52 +0200 |
---|---|---|
committer | Taran Singh <tarandeep@google.com> | 2019-10-11 10:09:06 +0200 |
commit | f1e0887eb83483eff1ef9fee8de72266387d45b8 (patch) | |
tree | 5c5963bc21b2229cfa6a75ad0632332e812fe28b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | fd0e5865e8389966d1de9fc6bbfd5233c9e73b2d (diff) |
Ime target window should control when to hide IME (1/2)
Input method frameworks uses focused window and some tricks
to best guestimate IME target. Though it doesn't always know the
actual IME target. e.g. when window has both NOT_FOCUSABLE,
ALT_FOCUSABLE_IM; IMF thinks focued window is IME target but it isn't
the case.
The right thing to do is to call both show(IME), hide(IME) on IME
target.
Bug: 142461756
Bug: 111084606
Test: Manually tested using steps below:
1. Make sure new insets flag is enabled
2. Launch any activity which has child window with NOT_FOCUSABLE,
ALT_FOCUSABLE_IM (e.g. Instagram login screen)
3. Verify IME can be shown and hidden by this window.
Change-Id: I13f3e04f6f9e1574db9cbb56bdb7817152499d03
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions