diff options
| author | 2023-03-18 01:01:20 +0800 | |
|---|---|---|
| committer | 2023-03-20 14:22:53 +0800 | |
| commit | 029b1194ba5a9a12ef5fd279beef9b9f2c58cd00 (patch) | |
| tree | 8a42486d771cdad9dde49e06dbab46f6f7303eda /libs/androidfw/ApkParsing.cpp | |
| parent | aa24b1bdc5ef790a17ad10957ded596fe03e4c4c (diff) | |
Keep visible process state if process embeds visible activity
The top activity in a embedded task may be a different process
than the organizer process, and the top activity can occlude
all activities belong to the organizer process. Then there is
no visible activities in the organizer process, which may cause
the organizer process to be frozen due to the background state.
Then when bringing the embedded task from background to front,
the organizer process may be unable to respose for
TaskFragmentOrganizerController#onTransactionHandled which is
used for synchronization of animation. Then it will lead to a
5s timeout.
Fix: 274017425
Test: atest TaskFragmentOrganizerControllerTest#
testOnActivityReparentedToTask_activityNotInOrganizerProcess \
_useTemporaryToken
Change-Id: I57ef9ebe95e05842e7f325c1a4775e98c7eb57bd
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions