Merge "Fix slow exit transition left exited views INVISIBLE."

This commit is contained in:
TreeHugger Robot
2016-12-07 22:22:44 +00:00
committed by Android (Google) Code Review

View File

@@ -124,13 +124,16 @@ class ExitTransitionCoordinator extends ActivityTransitionCoordinator {
}
public void resetViews() {
ViewGroup decorView = getDecor();
if (decorView != null) {
TransitionManager.endTransitions(decorView);
}
if (mTransitioningViews != null) {
showViews(mTransitioningViews, true);
setTransitioningViewsVisiblity(View.VISIBLE, true);
}
showViews(mSharedElements, true);
mIsHidden = true;
ViewGroup decorView = getDecor();
if (!mIsReturning && decorView != null) {
decorView.suppressLayout(false);
}