Merge "Better handling of confused finish transition." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2fd9cd7cbb
@@ -284,7 +284,7 @@ class ActivityTransitionState {
|
||||
}
|
||||
|
||||
public boolean startExitBackTransition(final Activity activity) {
|
||||
if (mEnteringNames == null) {
|
||||
if (mEnteringNames == null || mCalledExitCoordinator != null) {
|
||||
return false;
|
||||
} else {
|
||||
if (!mHasExited) {
|
||||
|
||||
@@ -150,6 +150,7 @@ class EnterTransitionCoordinator extends ActivityTransitionCoordinator {
|
||||
}
|
||||
};
|
||||
decor.getViewTreeObserver().addOnPreDrawListener(mViewsReadyListener);
|
||||
decor.invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user