diff options
| author | 2025-03-05 08:05:34 +0900 | |
|---|---|---|
| committer | 2025-03-06 07:52:33 +0900 | |
| commit | d69861700589b3af27ec64174367b4c15e2fe173 (patch) | |
| tree | 5bfa89903501ee1c7904f1e5b266f1b4bd19e87c /libs/androidfw/ObbFile.cpp | |
| parent | 12bd0c83e0d837baacf5c0bb7d7060e1a63de103 (diff) | |
Corrects animation for moving ActivityEmbeddings
Previously, DesktopModeMoveToDisplayTransitionHandler applied animation
to a single TransitionInfo.Change. This was inadequate for
TransitionInfo moving a task with ActivityEmbedding, as it includes
three TransitionInfo.Change objects: one for each embedded activity and
one for the parent container. To fix the animation:
- Applies animation to all TransitionInfo.Change objects that involve
moving to another display.
- Sets the relative position of the leash surface instead of the
absolute position. This ensures the leash surface of embedded
activities, parented to the container task, is placed correctly.
Bug: 376355478
Test: DesktopModeMoveToDisplayTransitionHandlerTest
Flag: com.android.window.flags.enable_move_to_next_display_shortcut
Change-Id: I3b6035c4aed42977a29defc4c9d23adaacf6d90a
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions