OSDN Git Service

Force transitioning views to be visible when transition interrupted.
authorGeorge Mount <mount@google.com>
Mon, 22 Sep 2014 20:58:21 +0000 (13:58 -0700)
committerGeorge Mount <mount@google.com>
Tue, 23 Sep 2014 00:06:24 +0000 (17:06 -0700)
commitf1abef6fc2194e72af521202ee4b17c10e03c935
tree7fdf676256090453ee3dcf0a375ae843046d89d3
parentddc5e5f1c60f5fc491c9299a0afd280f8fdc252b
Force transitioning views to be visible when transition interrupted.

Bug 17553034

When an Activity Transition was interrupted prior to starting the
enter transition, the views were not being made visible.

Override the return ActivityOptions if interrupted so that the
entering activity doesn't launch with a transition when coming
back from recents.

Change-Id: Id4e00c7bb138babfee4de71247a9df4431376e21
core/java/android/app/ActivityTransitionState.java
core/java/android/app/EnterTransitionCoordinator.java
core/java/android/app/ExitTransitionCoordinator.java