OSDN Git Service

Don't release surface if relayout is visible
authorChong Zhang <chz@google.com>
Thu, 14 Jul 2016 22:09:12 +0000 (15:09 -0700)
committerChong Zhang <chz@google.com>
Fri, 15 Jul 2016 00:26:56 +0000 (17:26 -0700)
commit546fd255d4ef5481088243b94a7c6929cd9e2779
treeb03c3591b4ce2941a9d175d003a0cc141149c53d
parente5b46f3bd58314715f5d8d42680c77380e8de299
Don't release surface if relayout is visible

There is a delay from the point we notify the client to go invisible,
to the point that request is handled. If a relayout VISIBLE happens
during this period, we need to give the client a surface so that any
pending draws will go through.

bug: 30066966

Change-Id: I0cd4e4be49f3d2d8f726963ed9e23bf0327e1d0f
services/core/java/com/android/server/wm/WindowManagerService.java