diff options
author | 2024-08-08 15:34:35 +0800 | |
---|---|---|
committer | 2024-08-15 01:51:21 +0000 | |
commit | ba9d00af95b1fb9a0d33c18f99d36fbb9e59cf74 (patch) | |
tree | 580745bac3d0fd518ac3a267cee1cc22e2298b14 /libs/appfunctions/java | |
parent | 62253d6f1096b35ea88a50ef052451cba60b1ae0 (diff) |
Apply new scheduling group for multi-window mode apps
Currently it only applies for freeform window mode.
For example, if there are 4 visible freeform apps:
The top 2 will be SCHED_GROUP_TOP_APP.
And the bottom 2 will be SCHED_GROUP_FOREGROUND_MW.
That makes the non-top visible apps have higher priority than
SCHED_GROUP_DEFAULT, so they may be more responsive.
Bug: 200769420
Test: MockingOomAdjusterTests#testUpdateOomAdj_DoOne_VisibleActivities
Flag: com.android.window.flags.process_priority_policy_for_multi_window_mode
Change-Id: I2a78e3e4c7f67d2a1361810413486421e22f74b5
Diffstat (limited to 'libs/appfunctions/java')
0 files changed, 0 insertions, 0 deletions