OSDN Git Service

Fix task animations
authorJorim Jaggi <jjaggi@google.com>
Wed, 21 Feb 2018 17:46:53 +0000 (18:46 +0100)
committerJorim Jaggi <jjaggi@google.com>
Thu, 22 Feb 2018 14:12:20 +0000 (15:12 +0100)
commitcecf424d3ad031f7353bc228e970211b443d91c5
tree11d140432c42d4f103f46890423e0119c17d21f5
parent78cab5a5961b37d984069697dd0ba684184de6bd
Fix task animations

Sometimes apps are using trampoline activities in the current
task, and then open a new task from that trampoline activity,
which means that the first transition was ACTIVITY_OPEN and that's
what we take at end.

To fix this, we let task animations always override activity
animations.

Test: go/wm-smoke
Test: Open a Docs document from Drive. Open a Chrome link from
Maps.
Fixes: 72710883

Change-Id: I72b6901fdc21514ffca4a47e433d66ea9d3cdb32
services/core/java/com/android/server/wm/AppTransition.java