diff options
| author | 2024-09-26 16:11:31 +0800 | |
|---|---|---|
| committer | 2024-10-07 16:03:42 +0800 | |
| commit | d25f347307eb87243ad8ad1f07cee777be16b2c0 (patch) | |
| tree | 17edb5a9d03da689244d1f776c553b6e375e82b5 /api/api_test.go | |
| parent | d8aa9a2a6156c355cae1e2b1e9bc863d09765499 (diff) | |
Apply top scheduling group for non-occluded freeform app
Give a higher priority if the freeform task of an app is almost not
occluded by other freeform task.
Assume 3 freeform tasks:
The top 2 tasks will have top shed group.
If the 3rd task is not occluded by the top 2 tasks, the 3rd task will
also have top shed group. But if the area of 3rd task has 10% area
occluded by the top 2 tasks, its shed group will down to multi-window.
Bug: 200769420
Test: atest RootWindowContainerTests#testTaskLayerRankFreeform
Test: Resize/move freeform and check
adb shell dumpsys activity oom | grep TOP
Flag: com.android.window.flags.process_priority_policy_for_multi_window_mode
Change-Id: If9510f83ccb16e59dcad9cef5f94792711d7cfa0
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions