Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 417b70c1 authored by wilsonshih's avatar wilsonshih
Browse files

Use target activity as recents animation target directly.

When recents activity just finished and someone requests to
startRecentsAnimation, although we will launch recents activity, but
the window is not ready when RecentsAnimationController#initialize.
Without set mTargetActivityRecord, we cannot ensure when to skip to set
mLaunchTaskBehind to false in WMS#onAppTransitionFinishedLocked.
We can set the target activity to RecentsAnimationController directly
after AppWindowToken merged into ActivityRecord now.

Fix: 142351430
Test: manually run StartLauncherViaGestureTests
Test: atest WmTests:RecentsAnimationTest
Test: atest WmTests:RecentsAnimationControllerTest

Change-Id: Ib60fb82deb14406ddc60e5897d2baa3d1d2dac75
parent 9d95d01d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment