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

Commit 0b6f5f70 authored by Eric Lin's avatar Eric Lin
Browse files

Add ability to exclude individual tasks from Recents.

Adds an explicit exclusion control for tasks in the Recents list via a
new `mForceExcludedFromRecents` field in `Task.java`, with accompanying
getter/setter methods. This allows for precise control over task
visibility in Recents, independent of other visibility criteria.

This can replace the previous hidden bubble task approach that used
`isAlwaysOnTop` and `MULTI_WINDOW_MODE` to hide tasks with a more direct
exclusion mechanism.

Bug: 404726350
Flag: com.android.window.flags.exclude_task_from_recents
Test: atest WmTests:RecentTasksTest
Test: atest WmTests:TaskTests
Test: adb shell dumpsys activity recents
Change-Id: I0f8576ba2e9f0095957c440edcf8d5dd639ce657
parent d9a023d1
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