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

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

Implement no animation expand pip (2/2)

Prevent any flickers upon early draws when
exiting PiP via expand
(with PiP2 experimental flag being on).

This is done by utilizing the current freezing and snapshot
mechanism during collection phase. The snapshot surface is also
appropriately reparented and repositioned.
This needs to be done since reparenting of an activity removes
the original parent along with the snapshot attached to it.

Fore more info see go/pip2-transitions

Bug: 307784067
Test: adb shell am broadcast -a \
	com.android.wm.shell.pip2.phone.PipScheduler
Change-Id: I48943bb90dcead045ad86da4bb85b345a9996c0e
parent 499d8e4a
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