Propagate config_at_end flag to reparent parent
Normally we consider reparented containers as "independent"
of both their parents. This means that even if the parent is
collected, we don't promote non-organized containers.
However, that is for animation specifically. Config-at-end
only cares about the post-end-state, so in this situation
we want to propagate config-at-end up to the end-parent
even when reparented.
This also adorns the activity itself with the flag so it
will properly sync if included as a direct target.
Bug: 202201326
Test: atest TransitionTests#testConfigAtEndReparent
Change-Id: I1be92157eecb4afecf5b519b56a2007b7782c66a
2 files changed