Revert^2 "Revert "Add userId information in Transition#AnimationOptions""
- Currently, animations are applied based on the current user.
- Add user Id information from the activity record and apply animation
for the specific user.
- Added correct user Id when using a embedded task fragment.
Bug: 361162241
Flag: EXEMPT (bug fix)
Test: atest CtsWindowManagerDeviceAnimations:android.server.wm.animations.ActivityTransitionTests
Test: atest --user-type secondary_user_on_secondary_display CtsWindowManagerDeviceAnimations:android.server.wm.animations.ActivityTransitionTests
Test: atest TransitionTests ActivityEmbeddingAnimationRunnerTests ActivityEmbeddingControllerTests ShellTransitionTests
Change-Id: I3cc93cedf545313e06d3cc2e64abd69e75bdd801
8 files changed