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

This commit is contained in:
Filip Gruszczynski
2015-11-25 19:09:06 +00:00
committed by Android (Google) Code Review

View File

@@ -3429,7 +3429,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.