summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Mina Granic <minagranic@google.com> 2024-10-16 10:59:08 +0000
committer Mina Granic <minagranic@google.com> 2024-10-16 12:54:47 +0000
commit44cb19410102507f39e4f0bda863b96c87ddf9f7 (patch)
tree9c5f39fb4daea4d8410612b2f10623ea751898ea /libs/androidfw/StringPool.cpp
parent882509d8e5bf4db0c4b6078e075ad66129c0fcd6 (diff)
Check event in app's bounds using absolute coordinates.
Event's X and Y coordinates are relative to the current window, not necessarily the app, meaning that windows with different coordinate systems than the apps - for example dialogs - would have incorrect calculations if used. Also, even if the tap is outside the current window's bounds, but inside app's bounds, it should be forwarded to the app (for example to trigger dialog dismiss). Flag: com.android.window.flags.scrolling_from_letterbox Test: atest FrameworksCoreTests:LetterboxScrollProcessorTest Test: verified dialogs are dismissable. Fixes: 372918146 Change-Id: I01f57aacf8b2aa04854f76c0d5cb0417b797a8aa
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions