diff options
| author | 2024-04-22 23:17:18 +0800 | |
|---|---|---|
| committer | 2024-04-23 13:35:41 +0800 | |
| commit | 638aa4bf2557fee4b14f07de0e2686bcaaf2fe50 (patch) | |
| tree | a7d0f17ef06cf5fb2698cc7c386063b657db74aa /libs/androidfw/StringPool.cpp | |
| parent | b3942280c4413410617580eb61c44ae5184ecab3 (diff) | |
Skip setting intermediate top when moving task to front
For example:
Start a new activity on a background task with an existing activity.
When moving the task to front, TDA#positionChildTaskAt ->
updateTopResumedActivityIfNeeded can be called before the new activity
is added on the task. Then the existing non-visible activity will be
set as top app within a short time. That will cause some resource
managements confusion about process importance.
Bug: 335085960
Test: ActivityTaskSupervisorTests#testUpdateTopResumed_moveToFront
ResourceManagerMultiTest#testReclaimResource
Change-Id: I154b3afdff978ffceeea2dd34fa467baa20aa015
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions