summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2022-04-08 18:01:16 +0000
committer Mady Mellor <madym@google.com> 2022-04-08 18:18:41 +0000
commit8763cf035b9cee4a949953c915d2db92545a7c14 (patch)
tree6f68f5ee10bf68b9b53391c15aaed5cec413aab0 /libs/androidfw/StringPool.cpp
parent89a9dcc8e9a853003a214906c94161684c5b76d0 (diff)
Fix an issue where the selected bubble might move offscreen for IME
Check if the selected bubble is within the area where the expanded view is and if it's not, cap the amount the bubbles translate so that it remains in view. Fixes a small issue where the padding should be added rather than subtracted (due to changes from ag/17354481) Bug: 227812332 Test: manual - increase IME height, have max bubbles on tablet, select the top-most bubble and bring up the IME => verify that the selected bubble remains on screen and the pointer is connected to the expanded view Change-Id: I251875f13c439564c7db60ded080b8c62aa76cf6
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions