diff options
| author | 2022-05-17 16:24:19 -0600 | |
|---|---|---|
| committer | 2022-07-29 16:03:37 +0000 | |
| commit | bea0e67d0da5b57e7317c2638fd40ebecc6eff41 (patch) | |
| tree | 3f9de6bc689bd1e2b9e6b43f7fdf2ce516b45ec2 /libs/androidfw/StringPool.cpp | |
| parent | f3bbee232f11bca3e9f5b8989002fd3745f182db (diff) | |
Demote top app scheduling group when unlocking
SystemUI may be running the unlock animation. If both SystemUI
and the resuming top app have top-app scheduling group, there
may be CPU contention which causes animation jank.
An exceptional case is unlocking to home which may also animate,
then keep original behavior: both system ui and home will have
top-app scheduling group.
Bug: 240356132
Bug: 226367352
Test: Launch calculator.
Keep executing command "adb shell dumpsys activity o | grep calc"
Lock and unlock device.
The dump will have the changes:
b/A/TPSL ---- t: 0 20687:calc/u0a158 (top-sleeping)
F/A/TOP LCMN t: 0 20687:calc/u0a158 (intermediate-top-activity)
T/A/TOP LCMN t: 0 20687:calc/u0a158 (top-activity)
(b=BG, F=FG, T=TOP)
Change-Id: Id0fd2491a11bac7b81bc654e646b3d01643ca8b4
Merged-In: Id0fd2491a11bac7b81bc654e646b3d01643ca8b4
(cherry picked from commit f3139a9e51333b926f5f81a76faf4ccde5afac53)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions