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

Skip to content
Commit be0d99a0 authored by Ikram Gabiyev's avatar Ikram Gabiyev
Browse files

Use appBounds for source bounds if provided

App bounds should be used when calculating the
adjusted source-rect-hint when app doesn't provide
their own, as overlays attached take up the full app bounds
despite the display cutouts present.

The app bounds are also used for adjusted source rect hint calculation
on the Launcher side, so this helps avoid a mismatch in crops.

Bug: 352773027
Flag: EXEMPT bugfix
Test: swipe PiP to home from Maps with fixed rotation (90 and 270)
Change-Id: Ie7259136a1c65ebc0085292fa4a5f9b46b5ec2a7
parent c32f9542
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment