diff options
author | Winson Chung <winsonc@google.com> | 2018-03-19 11:23:25 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2018-03-21 10:33:55 -0700 |
commit | c790b6c65a964345017d397c08ac8958e3621914 (patch) | |
tree | 279bfa5dc3a1e59e84276bf96ddad1b8d89a5e2d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8cf1ae492877182fe37aca4237f67fb0634047fb (diff) |
Fix issue with multiple recent tasks showing after restarting the device
- A task's activity type is not persisted to disk, so a strict activity
type comparison will fail to find and remove a reloaded task in the
recents list. Instead, check for a compatible activity type (which
accounts for a task with an undefined type)
Bug: 75286152
Test: atest FrameworksServicesTests:RecentTasksTest
Test: atest FrameworksServicesTests:TaskPersisterTest
Change-Id: I3a858ebcdaca310bcc9acbcd4167a62a88466743
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions