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

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

Re-enable task trimming

- Skip trimming tasks that are behind the home stack as they can not be
  returned to.
- Adding tag to event log when trimming the task to indicate it was trimmed
  by the recent tasks list
- Update tests to use task builder

Bug: 34270611
Test: Launch task from assistant, ensure that the assistant is not removed
Test: com.android.server.am.RecentTasksTest
Test: #testBackStackTasks_expectNoTrim
Test: #testBehindHomeStackTasks_expectTaskTrimmed
Test: #testOtherDisplayTasks_expectNoTrim
Change-Id: I538c9010f7ce7844bfa93ff3c8900dea6f91bc95
parent 1b5be51f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment