Merge "Set transient launch after collecting for recent at keyguard" into udc-qpr-dev

This commit is contained in:
Riddle Hsu
2023-07-13 16:01:27 +00:00
committed by Android (Google) Code Review

View File

@@ -1591,6 +1591,9 @@ class ActivityStarter {
if (forceTransientTransition) {
transitionController.collect(mLastStartActivityRecord);
transitionController.collect(mPriorAboveTask);
// If keyguard is active and occluded, the transient target won't be moved to front
// to be collected, so set transient again after it is collected.
transitionController.setTransientLaunch(mLastStartActivityRecord, mPriorAboveTask);
final DisplayContent dc = mLastStartActivityRecord.getDisplayContent();
// update wallpaper target to TransientHide
dc.mWallpaperController.adjustWallpaperWindows();