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

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

Implement auto-enter PiP2 in gesture nav [5/N]

Handle the case where the app provided source-rect-hint
is either invalid or null.

Make sure the overlay originally created in Launcher
is reparented properly, manipulated to look invariant
despite deferred resetSurfaceTransform() in
Transition#commitConfigAtEndActivities().
For this we use setBoundsChangeTransaction().

On the Core side, a newly created SyncGroup sets up our WindowState with
a non-zero mPrepareSyncSeqId to make sure that
draw handler modified transactions are merged into
the transaction altered by resetSurfaceTransform() later.

Bug: 325481148
Test: manually swipe-up to enter PiP with an invalid srcRectHint
Change-Id: I3f0853a0f06576a90914e6a200039fdb826deafb
parent d7f850e4
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