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

Skip to content
Commit bbd72ff3 authored by Miranda Kephart's avatar Miranda Kephart
Browse files

Offset ghost views by the containing view's location

Shared transitions weren't behaving correctly in some cases on
phones with display cutouts, because the locations of the shared
views are computed based on screen coordinates, but take place in
a decor view that may be inset by the display cutout (depending
on the target app's behavior around the cutout).

This change offsets the ghost views according to the location of
the decor view in the screen, so that all adjustments take place
in the same coordinate system.

Bug: 190757843
Test: manual (tested in screenshots, when the target app does and
does not get inset by the cutout)

Change-Id: Ia9c3b5f36136c8825c67ce645f6cbdd8e0126fdf
parent ed8dd882
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