OSDN Git Service

Don't animate when moving task to stack if not requested
authorJorim Jaggi <jjaggi@google.com>
Wed, 25 Nov 2015 02:21:10 +0000 (18:21 -0800)
committerJorim Jaggi <jjaggi@google.com>
Wed, 25 Nov 2015 02:21:10 +0000 (18:21 -0800)
commit55387528d68845a2b2534c34fd7aaaf9c62bfa47
tree5a3ae5a76afa646215e0581270e553fdd2ea962c
parent54b1a6deeb77011ee658d11ac1924a47b8ac8cad
Don't animate when moving task to stack if not requested

resumeTopActivitiesLocked played an activity transition because
the top activity of the stack changed. We don't want this in
case animate=false in moveToStackLocked, so add it to the
mNoAnimActivities array so it suppresses the animation.

Change-Id: Ife15ca529da916b6bc97e2b3bd1e3c3e3009373b
services/core/java/com/android/server/am/ActivityStackSupervisor.java