diff options
| author | 2025-03-21 18:45:07 +0800 | |
|---|---|---|
| committer | 2025-03-24 13:00:03 +0800 | |
| commit | 0b6f5f7082891215c5dde31680fbe71d85f75d40 (patch) | |
| tree | 1fbc96cd9172792a0d7d95dde929ea4934773f0b /libs/androidfw/misc.cpp | |
| parent | d9a023d1a0a9cdd72a2e6d2f5606ebfe457a8f99 (diff) | |
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
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions