summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Roy Chou <juchengchou@google.com> 2023-12-01 04:02:19 +0000
committer Roy Chou <juchengchou@google.com> 2023-12-04 05:51:25 +0000
commit5776f6003538158688bf5415c4f1e4ff5448328d (patch)
tree8d11306ed2c7860637413fb20dee46a0a6b2885c /libs/androidfw/StringPool.cpp
parenta8c95e528c3f8a8fd46f3fe5464bcb6b95a7ab4c (diff)
fix(magnification): draggable bounds of the settings panel is not correctly computed
The original computation of the settings panel dragging area bounds is not correct, so the settings panel would cover the gestural navigation bar area. It causes tapping on the bottom of the panel Done button would be also detected as tapping on the navigation bar, so it would trigger the window transition then make the fullscreen magnification zoom out. Therefore, we fix the computation to prevent the panel from covering the system bar area. We also add test case in WindowMagnificationSettingsTest to verify the dragging bounds computation is expected. Bug: 311319434 Flag: none Test: manually atest WindowMagnificationSettingsTest Change-Id: Iec81c544d3498ff02451b8ca1461c579846e52ac
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions