OSDN Git Service

Fix issue with translucent animations
authorJorim Jaggi <jjaggi@google.com>
Thu, 19 Apr 2018 15:48:38 +0000 (17:48 +0200)
committerJorim Jaggi <jjaggi@google.com>
Fri, 20 Apr 2018 13:45:23 +0000 (15:45 +0200)
commit0a1523de3ec3b5662e4dc8148bcaa1b443809caa
treee518ab1ffdd518f930f069e181e94f6e165a4476
parentf12a2130a42ae6c7d05c4edcd2cc2f922cc9c129
Fix issue with translucent animations

If a translucent has overridden their activityOpenEnter/exit
animation in the resources, they won't be used anymore because the
system always forces the translucent animations, which is a bug.

Instead, we only use the translucent animation in case the app has
not overridden their animations manually.

Test: Open WhatsApp profile picture.
Test: go/wm-smoke
Change-Id: I7e81815e78453392773ac2ac96c47540e6146381
Fixes: 78270476
core/res/res/values/symbols.xml
services/core/java/com/android/server/wm/AppTransition.java
services/core/java/com/android/server/wm/WindowStateAnimator.java