Merge "Fix placeholder not shown after launch again" into tm-dev

This commit is contained in:
Charles Chen
2022-03-16 02:36:46 +00:00
committed by Android (Google) Code Review

View File

@@ -501,7 +501,7 @@ public class SplitController implements JetpackTaskFragmentOrganizer.TaskFragmen
final TaskFragmentContainer container = getContainerWithActivity(
activity.getActivityToken());
// Don't launch placeholder if the container is occluded.
if (container != getTopActiveContainer()) {
if (container != null && container != getTopActiveContainer()) {
return false;
}