diff options
| author | 2018-03-07 10:33:55 -0800 | |
|---|---|---|
| committer | 2018-03-07 13:02:06 -0800 | |
| commit | fbd263b4840abe5fab5f0a751cc0e689d61f3e4d (patch) | |
| tree | 4b0cfa713fa5d7d7fda57274b10a5c494b6ca9aa /libs/hwui/ProgramCache.cpp | |
| parent | 999e97f405b8f01b12a6fb8e844d33dc807813fa (diff) | |
Do not depend on task activities decrementing with finish.
It is possible for a task to be cleared when a single activity is
finished. For example, if only task overlays are present after an
activity is removed, the task can be cleared under certain
conditions. As a result, we can not rely on only a single activity
being removed from a task when it is finished.
This changelist addresses this issue by caching the list of actvities
under a task that will not be modified as activities are finished.
Change-Id: Id3b0813deebd0bc31b2ff7ae7f69a2833dcb0a61
Fixes: 64291682
Test: atest FrameworksServicesTests:com.android.server.am.ActivityStackTests#testFinishDisabledPackageActivities
Test: atest FrameworksServicesTests:com.android.server.am.ActivityStackTests#testHandleAppDied
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions