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

Commit 939b27cb authored by Galia Peycheva's avatar Galia Peycheva
Browse files

Fix WCT.setBounds not being picked up by Task

Bug: 228939973
Test: start resizable activity while there is an expanded pip
Change-Id: I814369a0d5da97e3a75efb47376c964549f8a064
parent 6166d7a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2035,7 +2035,7 @@ class Task extends TaskFragment {
        Rect outOverrideBounds = getResolvedOverrideConfiguration().windowConfiguration.getBounds();
        Rect outOverrideBounds = getResolvedOverrideConfiguration().windowConfiguration.getBounds();


        if (windowingMode == WINDOWING_MODE_FULLSCREEN) {
        if (windowingMode == WINDOWING_MODE_FULLSCREEN) {
            if (!mCreatedByOrganizer) {
            if (!isOrganized()) {
                // Use empty bounds to indicate "fill parent".
                // Use empty bounds to indicate "fill parent".
                outOverrideBounds.setEmpty();
                outOverrideBounds.setEmpty();
            }
            }