diff options
| author | 2023-08-24 15:17:50 +0000 | |
|---|---|---|
| committer | 2023-08-25 08:45:40 +0000 | |
| commit | 2f55b384dd96a209ea8a5f7085004a0661623c7d (patch) | |
| tree | 3567460e20e77bd036b1bba1e7236e15ade4ed47 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 7b193950c33c3b543d337a4463db7d42f87d4454 (diff) | |
Return valid task id of bottom activity for isTaskRoot
To match the documentation of Activity#isTaskRoot:
The root is the first activity in a task.
Previously, the result may be affected by relinquishTaskIdentity.
For example:
Back from activity B to activity A[relinquishTaskIdentity=true]
in the same task. Activity#isTaskRoot will return true for B
because A uses the relinquish flag. That will cause
EnterTransitionCoordinator to skip the exit transition because
its mPendingExitNames will not be set.
Fix: 297013131
Test: atest TaskTests#testGetRootActivity_relinquishTaskIdentity
Change-Id: Iefa6e46c59a198f78a2f0495a20dc1239e04448c
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions