Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

Always add the task to the recent task list when starting

- Currently, when creating a new task as a part of starting an
  activity, we sometimes don't update the recent tasks list until
  the next activity state is resumed.  This can lead to issues
  where the set of recent tasks is wrong if the task list is
  fetched before the activity state changes (due to the app being
  slow or another activity launched immediately afterwards causing
  the first activity's state to skip resume and go to stop). For
  consistency, we can just always add the task to the recent task
  list in all cases.

Bug: 141580748
Test: atest ActivityStarterTests
Test: atest RecentTasksTest
Change-Id: I61b0c065caf3b775e64190f92f2c8a4471d12b08
parent 55a6d9a4
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