summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Chris Li <lihongyu@google.com> 2022-10-10 21:21:51 +0800
committer Chris Li <lihongyu@google.com> 2022-10-13 09:02:27 +0800
commit84ec824a330b01c23b62d95963ca901f5fd15234 (patch)
tree2deefe268fc9c34db2aff6a55a77008c734e82a6 /libs/androidfw/ResourceTimer.cpp
parentc5bfa99295e01f7a8e0412ef279bad0f6c38b027 (diff)
Polish ActivityEmbedding enter/exit PiP (1/n)
1. When moveActivityToPinnedRootTask with creating a new Task for PiP, make sure the Task's initial bounds is the same as the activity parent TaskFragment so the animation starts from the correct bounds. 2. When exit PiP to previous Task, make sure we are animating the correct window surface. For the previous implementation. there can also be TRANSIT_CHANGE change for entering ActivityEmbedding split (from PiP) in the same transition. Bug: 207070762 Test: atest WmTests:RootWindowContainerTests Test: atest WmTests:TransitionTests Merged-In: Ifba090ad9ac9fb7033d343eab1c87c1a67bb9c11 Change-Id: Ifba090ad9ac9fb7033d343eab1c87c1a67bb9c11
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions