summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Ikram Gabiyev <gabiyev@google.com> 2023-11-07 13:45:34 -0800
committer Ikram Gabiyev <gabiyev@google.com> 2023-11-16 13:50:09 -0800
commit2c2b7136ae0589fc5a33e9f197f63c6fc7fb4d86 (patch)
tree458dfc21af5b3caf013e9c62970d0ad624b5b4f1 /api/api.go
parent499d8e4af8f84651faf92e331999bf652d3d1c4c (diff)
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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions