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

Commit 4f67ac89 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix the activity windowingmode error of exiting pip" into main am: b90b46a5 am: e9b753a0

parents 32003848 e9b753a0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4670,6 +4670,9 @@ class Task extends TaskFragment {
                    mTransitionController.collect(topActivity);

                    final Task lastParentBeforePip = topActivity.getLastParentBeforePip();
                    // Reset the activity windowing mode to match the parent.
                    topActivity.getRequestedOverrideConfiguration()
                            .windowConfiguration.setWindowingMode(WINDOWING_MODE_UNDEFINED);
                    topActivity.reparent(lastParentBeforePip,
                            lastParentBeforePip.getChildCount() /* top */,
                            "movePinnedActivityToOriginalTask");