Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5061178c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix activity scene transition"

parents 9a3dc05b ed5789bb
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1380,6 +1380,12 @@ final class ActivityRecord extends ConfigurationContainer {
            }
            // Keep track of the number of fullscreen activities in this task.
            task.numFullscreen += occludesParent ? +1 : -1;
            fullscreen = occludesParent;
        }
        // Always ensure visibility if this activity doesn't occlude parent, so the
        // {@link #returningOptions} of the activity under this one can be applied in
        // {@link #handleAlreadyVisible()}.
        if (changed || !occludesParent) {
            mRootActivityContainer.ensureActivitiesVisible(null, 0, !PRESERVE_WINDOWS);
        }
        return changed;