diff options
| author | 2023-07-14 18:15:22 +0000 | |
|---|---|---|
| committer | 2023-07-17 14:32:07 +0000 | |
| commit | cf2dfc3e29be449078439fdc6a7317cf1944ce8a (patch) | |
| tree | a4e1e70b2e5fdd586acf1c6f3dcbbca10e63c42d /libs/androidfw/FileStream.cpp | |
| parent | 1a2f99d71d6e3eb78aa89156d093f1314164baea (diff) | |
Defer ending launcher power mode hint until after transient transition
Because transient launch will resume the target activity, the power
mode will be cleared after the activity reported idle. But the
animation may be still running that causes some frame drops by lower
cpu frequency. So defer it until the transition is finished.
The power mode will be cleared from:
Transition#finishTransition
> scheduleProcessStoppingAndFinishingActivitiesIfNeeded
> allResumedActivitiesIdle
> endLaunchPowerMode
Bug: 291284150
Test: atest TransitionTests#testTransientLaunch
Change-Id: If664fbc58554d7cfabae86c9ec282f3f7cf50526
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions