OSDN Git Service

Notify client when the window is moved because of a resize
authorChong Zhang <chz@google.com>
Mon, 28 Dec 2015 23:18:29 +0000 (15:18 -0800)
committerChong Zhang <chz@google.com>
Tue, 29 Dec 2015 22:23:16 +0000 (14:23 -0800)
commitbd0d937303ae54d8a5bb5f08080c4164302daefc
treee126feb81e01365875972bd062577abed7f218c0
parent7e5445f2b457fa6bf3b3ea306ca344ab4a648dae
Notify client when the window is moved because of a resize

We need to notify the client that the window has moved if a resize
results in a move without size change. This makes sure that relevent
info on client side (such as mAttachInfo.mWindowLeft/Top) gets updated
to the new frame. Things like View.getLocationOnScreen() may depend
on these to function.

Bug: 25565385
Change-Id: I5b9ded0b16243c14494f9a69257d56570ee8996d
services/core/java/com/android/server/wm/Task.java
services/core/java/com/android/server/wm/WindowState.java
services/core/java/com/android/server/wm/WindowSurfacePlacer.java