Removed improper check on mCalledExitCoordinator.

Bug 27969302

mCalledExitCoordinator can be nulled before the onResume is called,
so it cannot be used to determine whether or not the Activity is
a caller or called.

Change-Id: Ie3696ed59b89cfc8c6145d22bc230111f0813701
This commit is contained in:
George Mount
2016-04-01 13:19:35 -07:00
parent 1b8189d825
commit 056b7d5403

View File

@@ -239,9 +239,6 @@ class ActivityTransitionState {
public void onResume(Activity activity, boolean isTopOfTask) {
// After orientation change, the onResume can come in before the top Activity has
// left, so if the Activity is not top, wait a second for the top Activity to exit.
if (mCalledExitCoordinator == null) {
return; // This is the called activity
}
if (isTopOfTask || mEnterTransitionCoordinator == null) {
restoreExitedViews();
restoreReenteringViews();