diff options
| author | 2022-05-10 15:36:18 +0000 | |
|---|---|---|
| committer | 2022-05-11 16:33:34 +0000 | |
| commit | e267f46e021eb26ae031116b7aa5239c2471d828 (patch) | |
| tree | 5ffa97042bf3264135738b7a63cfaf090691cd21 /libs/androidfw/StringPool.cpp | |
| parent | d49b5d442dd8e473f4f980a41ea83dcbeec27345 (diff) | |
Use visible activity for remote animation target if available.
When creating a remote animation target for recents animation, the old
logic choose an activity which becomes visible soon (i.e.
ActivityRecord#mVisibleRequested=true). However, in the following
scenario, activity_b is to-be-visible soon, but doesn't have window yet.
1. activity_a launches activity_b
2. immediately after this, a user starts recents.
In this case, we should use activity_a whose window is already displayed
on the screen even though the activity is to-be-invisible soon.
Bug: 223499269
Bug: 231711212
Test: atest RecentsAnimationControllerTest
Change-Id: Ifeb0a18fe386d1d604e3092728e660ffaf0e6f27
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions