diff options
author | wilsonshih <wilsonshih@google.com> | 2019-10-16 16:12:02 +0800 |
---|---|---|
committer | wilsonshih <wilsonshih@google.com> | 2019-10-18 11:31:12 +0800 |
commit | 417b70c1cd29032337b351cc2768a4caa9d20adb (patch) | |
tree | f6ff6e2fe06af9da91cfa6ff1e2e1afb8ebea8e7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9d95d01d370fa60bbaa7fbc828216e6808f11e82 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions