summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-06-06 22:50:20 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-07-29 16:04:20 +0000
commit50a757a486ef7356ac200c892449b0cc5e76ac4d (patch)
tree020c3bf2cacf1965ebeac4b78029c4cbbe97ee0f /libs/androidfw/StringPool.cpp
parentbea0e67d0da5b57e7317c2638fd40ebecc6eff41 (diff)
Demote top app scheduling group when recents is animating
With legacy transition, the recents activity doesn't move to top when it is animating. So both the real top app and the recents process will have top-app scheduling group. Then there may be a CPU contention which causes animation jank. Because the recents animation is usually more noticeable (mainly swipe-up to home), demote the current top app to foreground group for reducing the potential contention. Bug: 240356132 Bug: 233992724 Test: atest RecentsAnimationTest Test: adb shell dumpsys activity o | grep -e "A.*calc" Launch calculator: T/A/TOP LCMN t: 0 22249:calc/u0a158 (top-activity) Swipe-up to enter recents: F/A/TOP LCMN t: 0 22249:calc/u0a158 (intermediate-top-activity) Return to calculator: T/A/TOP LCMN t: 0 22249:calc/u0a158 (top-activity) Swipe to home: b/ /LAST ---- t: 0 22249:calc/u0a158 (previous) Change-Id: I0d002ea46de4474fcf863f142f2ee17fe3a5c742 Merged-In: I0d002ea46de4474fcf863f142f2ee17fe3a5c742 (cherry picked from commit a20990ec66bf61f45d36c5b66011f54d85c8095c)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions