Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 44cb1941 authored by Mina Granic's avatar Mina Granic
Browse files

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
parent 882509d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment