Merge "Fix a small bug around deferring activity visibility" into sc-v2-dev

This commit is contained in:
Evan Rosky
2021-06-01 19:20:15 +00:00
committed by Android (Google) Code Review

View File

@@ -4569,7 +4569,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
}
// If in a transition, defer commits for activities that are going invisible
if (!visible && mAtmService.getTransitionController().inTransition()) {
if (!visible && mAtmService.getTransitionController().inTransition(this)) {
return;
}
// If we are preparing an app transition, then delay changing