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

Commit e296ec66 authored by Hongwei Wang's avatar Hongwei Wang Committed by Android (Google) Code Review
Browse files

Merge "Allow resize for secondary split screen"

parents f8143c20 47c14f41
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -784,6 +784,10 @@ class ActivityStack extends WindowContainer<WindowContainer> implements BoundsAn
                        null /* tempTaskBounds */, null /* tempTaskInsetBounds */,
                        null /* tempOtherTaskBounds */, null /* tempOtherTaskInsetBounds */,
                        PRESERVE_WINDOWS, true /* deferResume */);
            } else if (overrideWindowingMode != WINDOWING_MODE_PINNED) {
                // For pinned stack, resize is now part of the {@link WindowContainerTransaction}
                resize(new Rect(newBounds), null /* tempTaskBounds */,
                        null /* tempTaskInsetBounds */, PRESERVE_WINDOWS, true /* deferResume */);
            }
        }
        if (prevIsAlwaysOnTop != isAlwaysOnTop()) {