commit | 8e4462b48e6ed55c300e5fd5c7fa5beef2c3224c | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Fri Jul 14 18:15:22 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Jul 18 04:31:50 2023 +0000 |
tree | 2d0fe51b7f0810da3d1b6808f0b78f80d13f4a42 | |
parent | 20c54d969cff59e1302ad0fb0ea8462bae68b97a [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 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cf2dfc3e29be449078439fdc6a7317cf1944ce8a) Merged-In: If664fbc58554d7cfabae86c9ec282f3f7cf50526 Change-Id: If664fbc58554d7cfabae86c9ec282f3f7cf50526