Sync surface position for legacy app transition animation
With legacy app transition:
1. TaskFragment is resized when it is invisible -> update surface
position on sync transaction.
2. Activity becomes visible in TaskFragment, which trigger app
transition.
3. Animation target is promoted to TaskFragment and create animation
leash -> reset position on pending transaction.
4. Apply pending transaction to start legacy app transition -> 1 is
applied after 3, which cause the TaskFragment surface position offset
in animation leash.
This is similar to I74e044f440e40c3c5f99bf0f8c7a601e953dbbc7
Fix: 256689498
Test: Launch Setting into split left with any app, click back to exit
the split right. No flicker when Settings shows in fullscreen.
Change-Id: Id3db698729a5c25df7e50a49caf504b6fa866aa6
2 files changed