Stop a blink of the final position of shared element.

Sometimes a frame from the final layout position of the shared
element was showing on the first frame of the activity showing.
This pushes the first frame to force it until after the transition
has started.

Test: manual testing

Change-Id: I831ed4b419eaadf1aad9d5efbeb99f04eebd0640
This commit is contained in:
George Mount
2016-11-30 05:11:52 -08:00
parent 1dddc057ec
commit 239ba2a3c8

View File

@@ -90,7 +90,7 @@ class EnterTransitionCoordinator extends ActivityTransitionCoordinator {
decorView.getViewTreeObserver().removeOnPreDrawListener(this);
}
}
return mIsReadyForTransition;
return false;
}
});
}