From: Robert Carr Date: Tue, 25 Apr 2017 21:46:50 +0000 (-0700) Subject: More targeted version of "Correct animation glitch for pinned stack." X-Git-Tag: android-x86-9.0-r1~1044^2~1388^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=2117aaf5aef7889908d1560f26a61fea22b616ce;p=android-x86%2Fframeworks-base.git More targeted version of "Correct animation glitch for pinned stack." See the referenced CL "Correct animation glitch" for an explanation of why an exception in this area is required. That CL based the exception off the dummy animation state, however it seems we also enter this state in various docked transitions but in that case the dummy animation will have the incorrect transforms referenced by the original comment. Now we target the fix on the bounds animating state instead. Bug: 37448295 Bug: 36777039 Bug: 37511473 Test: Dock app from recents, no stretching. Auto-pip app, doesn't get stuck in top-left. Yay! Change-Id: I5c9a7384622de9cedcc4be4dec7caacf58c683eb --- diff --git a/services/core/java/com/android/server/wm/DisplayContent.java b/services/core/java/com/android/server/wm/DisplayContent.java index e2f313a37dbf..b7a268c4380f 100644 --- a/services/core/java/com/android/server/wm/DisplayContent.java +++ b/services/core/java/com/android/server/wm/DisplayContent.java @@ -666,8 +666,9 @@ class DisplayContent extends WindowContainer