diff options
| author | TYM Tsai <tymtsai@google.com> | 2022-05-13 05:20:46 +0800 |
|---|---|---|
| committer | TYM Tsai <tymtsai@google.com> | 2022-05-24 21:33:54 +0800 |
| commit | 3392d187ebd3704bc2e86de76f7d96ec3f132ee1 (patch) | |
| tree | 71d1e7612820f7b7b817575dfa07baef4504bb1c /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | fc974566b8543c9e3a3a94bb1ef8b8f74f1c0176 (diff) | |
Fix inline tooltip position is wrong
The PopupWindow will show up above the anchor with the real rectangle.
If the anchor is doing an animation, it will get a temporary top of the
anchor because the rectangle is conisince changed by the animation. So
attach tooltip after a while for waiting the animation is done.
And when the tooltip overrides the inline suggestion, clicking the
suggestion won't work. Force the y offset above or below the anchor to
fix the problem.
Bug: 223088398
Test: atest android.autofillservice.cts.inline.InlineTooltipTest
Change-Id: I068efc3d20f4486decd2c9e690ebeb2981fb6722
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
