Merge "Fix setLaunchBehind target being stop while back gesture animating"

This commit is contained in:
Wei Sheng Shih
2022-10-20 07:26:08 +00:00
committed by Android (Google) Code Review

View File

@@ -588,6 +588,7 @@ class BackNavigationController {
ProtoLog.d(WM_DEBUG_BACK_PREVIEW,
"Setting Activity.mLauncherTaskBehind to true. Activity=%s", activity);
activity.mTaskSupervisor.mStoppingActivities.remove(activity);
activity.getDisplayContent().ensureActivitiesVisible(null /* starting */,
0 /* configChanges */, false /* preserveWindows */, true);
}