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

Skip to content
Commit 2a080b6b authored by Alec Mouri's avatar Alec Mouri Committed by Winson Chung
Browse files

Remove coordinate swapping in region sampling

Captured screens for region sampling were originally rendered
upside-down, which required swapping coordinates to sample from the
correct area in the output buffer. Since then, several fixes to the
screenshot path have landed, which treat screen orientation
consistently, so the captured images are no longer upside-down. But,
the coordinate swapping was never removed. Remove it now, as sampling
during landscape is now broken.

Bug: 133849373
Bug: 241967077
Fixes: 275661349
Test: Split screen in landscape with settings app in dark mode,
calculator in light mode, and trigger back gestures

Change-Id: I52c65032d33d01a4407dc1b30215e7edac6eb1ea
(cherry picked from commit 439b6096)
parent b218143d
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