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

Commit a21136c3 authored by Filip Gruszczynski's avatar Filip Gruszczynski
Browse files

Don't preserve the window on client side when pinning activity.

We were both enabling window replacement in WMS and window preserving on
the client side. This doesn't work together, because window replacement
depends on the fact that the client won't preserve the window (it needs
to receive remove and add window operations).

Bug: 25854235
Change-Id: I0625df6fbe4c29bf14f364d764de3bf63dc90961
parent abef6d6f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3412,7 +3412,7 @@ public final class ActivityStackSupervisor implements DisplayListener {
            pinnedStack.moveActivityToStack(r);
        }

        resizeStackLocked(PINNED_STACK_ID, bounds, PRESERVE_WINDOWS, true);
        resizeStackLocked(PINNED_STACK_ID, bounds, !PRESERVE_WINDOWS, true);

        // The task might have already been running and its visibility needs to be synchronized with
        // the visibility of the stack / windows.