OSDN Git Service

Preserve other windows during resize as well.
authorGarfield Tan <xutan@google.com>
Mon, 25 Jun 2018 23:29:21 +0000 (16:29 -0700)
committerGarfield Tan <xutan@google.com>
Tue, 26 Jun 2018 20:53:08 +0000 (20:53 +0000)
commitb91511879d22a323f6ea3989d2661c9a23614342
treeccb1b6b0784626e6181d8149a6ae65e53ed0fd46
parent6d5bdf293d399d9986179ae0987e4e058a27e324
Preserve other windows during resize as well.

Before this change if user resizes a window that has a dialog activity
in the front, and a paused activity in its back, the paused activity
will be completely torn down and relaunched, causing a whole period of
black window showing to users.

Bug: 110716902
Test: The activity stopped flickering and go/wm-smoke.

Change-Id: I0dfe6a9c3d925a365a1a3beaa5841e1606220ac2
services/core/java/com/android/server/am/TaskRecord.java