OSDN Git Service

Fixes getting the wrong app transition going home after minimized (1/2)
authorMatthew Ng <ngmatthew@google.com>
Wed, 21 Jun 2017 23:16:24 +0000 (16:16 -0700)
committerMatthew Ng <ngmatthew@google.com>
Tue, 27 Jun 2017 22:37:27 +0000 (15:37 -0700)
commit5d23afa9e55d526cbf86042d8efbb69250f25038
treec60bcb884133bc9aa142f12c0c135127287f7d4a
parentf79158f5ac441aeec6862b3ad51533ed6b6f4134
Fixes getting the wrong app transition going home after minimized (1/2)

This is a side affect from ag/2125707. When minimizing and unminimizing
back to home would cause the same affect in the bug, where the app
transition is from activity to activity and not app. The issue was a
"updateAllDrawn" is normally called at the end of the surface
transaction and therefore removing this call (that would run inbetween
the transaction) should fix prematurely calculating the app transition
before setting the wallpaper target.

Fixes: 62727547
Test: go/wm-smoke
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test
CtsServicesHostTestCases
android.server.cts.ActivityManagerDockedStackTests#
testMinimizeAndUnminimizeThenGoingHome
Change-Id: Ia658cd7111ede386579eb5cd38c88c9e4a1bd312
services/core/java/com/android/server/wm/AppWindowToken.java