Skip to content
Commit d7c42643 authored by Chris Li's avatar Chris Li
Browse files

Check last parent when calculating Shell transition root

Before, we pick root leash only based on the end state hierarchy, which
may result the reparent animation covered by other windows between the
new parent and old parent. Now, we make sure the root leash is also the
ancestor of the old parent.

Bug: 207070762
Test: atest WmTests:TransitionTests#testCollectReparentChange
Test: manually verify with ActivityEmbedding enter PiP from split screen
Change-Id: Ieeb2ce19b47adf4223ba6d58a3be10d7079f4eb3
parent 09aaecd5
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