From 7774bd554c28e33b732e449d029137537eb917da Mon Sep 17 00:00:00 2001 From: Wale Ogunwale Date: Fri, 17 Jun 2016 09:44:22 -0700 Subject: [PATCH] Always report window move to client ag/1037916 added logic to only report window movement to the client if the window doesn't have a task or its stack is bounds animating. This causes problems on the client side for window that don't fall into this category as they will have the wrong information of where they are no screen. Bug: 29093176 Change-Id: I958174af430f2c4003a1c0a74956964d209c0e4a --- .../core/java/com/android/server/wm/WindowSurfacePlacer.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/core/java/com/android/server/wm/WindowSurfacePlacer.java b/services/core/java/com/android/server/wm/WindowSurfacePlacer.java index 4148cd07681fb..359063c80dbf7 100644 --- a/services/core/java/com/android/server/wm/WindowSurfacePlacer.java +++ b/services/core/java/com/android/server/wm/WindowSurfacePlacer.java @@ -731,9 +731,7 @@ class WindowSurfacePlacer { } try { - if (task == null || task.mStack.getBoundsAnimating()) { - w.mClient.moved(left, top); - } + w.mClient.moved(left, top); } catch (RemoteException e) { } w.mMovedByResize = false;