diff options
| author | 2024-12-03 17:09:34 +0800 | |
|---|---|---|
| committer | 2024-12-17 22:17:04 -0800 | |
| commit | 4f26be3a00ba220b427832e229b79ecbc57b57c1 (patch) | |
| tree | 78f252946c6e858116334c8e8af8c155a0a76f3d /libs/androidfw/BackupHelpers.cpp | |
| parent | 7ad12f9f1b013c4e651500b3d78299329776070f (diff) | |
Demote top-app when notification shade is expanded
If the top app is busy, it may cause potential jank when expanding
notification shade because CPU contention.
If there is top app switch, the demote will be canceled. Because it
is usually an app launch which needs top priority for startup latency.
Bug: 362467878
Flag: com.android.window.flags.scheduling_for_notification_shade
Test: Expand/collapse notification shade and check
adb shell dumpsys activity o | grep -e "A.*top-activity"
Expanded: intermediate-top-activity
Collapsed: top-activity
Change-Id: Ic82cb3235f93f01db382d355c98f7aef2f1ef783
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions