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

Commit a6839557 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix tasks not resized in split-screen" into rvc-dev am: 55ace3eb am:...

Merge "Fix tasks not resized in split-screen" into rvc-dev am: 55ace3eb am: bf58390a am: 58f691d9 am: 7a465ca0

Change-Id: Icb0a0eb2156a23ff32230eb06f00fb5527075994
parents 3170e0a1 7a465ca0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2448,7 +2448,8 @@ class Task extends WindowContainer<WindowContainer> {
    Rect updateOverrideConfigurationFromLaunchBounds() {
        // If the task is controlled by another organized task, do not set override
        // configurations and let its parent (organized task) to control it;
        final Rect bounds = isOrganized() && !isRootTask() ? null : getLaunchBounds();
        final Task rootTask = getRootTask();
        final Rect bounds = rootTask != this && rootTask.isOrganized() ? null : getLaunchBounds();
        setBounds(bounds);
        if (bounds != null && !bounds.isEmpty()) {
            // TODO: Review if we actually want to do this - we are setting the launch bounds