Collect changes for transition right before updating config

Otherwise if display configuration is updated first, the later
collect() may not detect change. Such as if an activity with
ROTATION_ANIMATION_SEAMLESS is not included in TransitionInfo,
the animation will still be screenshot based style.

Bug: 240238575
Test: SeamlessAppRotationTest

Change-Id: I53f4212dad210cacdc4c243475ab1ab6355fe53b
8 files changed