Skip to content
Commit c790b6c6 authored by Winson Chung's avatar Winson Chung
Browse files

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
parent 8cf1ae49
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment