diff options
| author | 2022-05-13 05:20:46 +0800 | |
|---|---|---|
| committer | 2022-05-24 21:33:54 +0800 | |
| commit | 3392d187ebd3704bc2e86de76f7d96ec3f132ee1 (patch) | |
| tree | 71d1e7612820f7b7b817575dfa07baef4504bb1c /libs/androidfw/Util.cpp | |
| 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 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions