Skip to content

Commit

Permalink
fix: fix sometimes shared element animation is not working after star…
Browse files Browse the repository at this point in the history
…tPostponedEnterTransition()
  • Loading branch information
qii committed Mar 17, 2020
1 parent 427d031 commit 9e2539e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ public void postponeEnterTransition() {
public void startPostponedEnterTransition() {
if (this.mEnterTransitionRunnable != null) {
this.mEnterTransitionRunnable.run();
this.mEnterTransitionRunnable = null;
}
this.mDelayEnterTransitionExecute = false;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public void startPostponedEnterTransition() {
this.mEnterTransitionRunnable.run();
this.mEnterTransitionRunnable = null;
}
this.mDelayEnterTransitionExecute = false;
}

@Override
Expand Down

0 comments on commit 9e2539e

Please sign in to comment.