OSDN Git Service

Disallow animating when opening home
authorJorim Jaggi <jjaggi@google.com>
Wed, 18 Apr 2018 14:31:07 +0000 (16:31 +0200)
committerJorim Jaggi <jjaggi@google.com>
Fri, 20 Apr 2018 12:51:47 +0000 (14:51 +0200)
commitc6976f0206a1b1c436a39a3d979b3355abb88fdb
treed37eeac4ab94b3ffeca90bbfa0b4e52d5e934b16
parentf12a2130a42ae6c7d05c4edcd2cc2f922cc9c129
Disallow animating when opening home

Since this might trigger a minimizing home animation, this is
going to cause the stack clip to animate during the app
transition, leading to an issue where the primary stack isn't
cropped correctly in this transition.

Test: go/wm-smoke
Test: Split screen, go home, open assistant, do some action, press
home
Test: Same but open a 2ndary app that's not home
Fixes: 77675425

Change-Id: I4ac92337fe2140406ba962f6b1da1f18de5d3a56
services/core/java/com/android/server/wm/AppWindowToken.java