Skip to content

Commit

Permalink
Add missing logging to TransitionManager
Browse files Browse the repository at this point in the history
Summary: For every case that we return without doing anything in `maybeCreateAnimation`, except this one, we explain why if AnimationDebug is enabled. This adds the missing case, so it's more complete logging.

Differential Revision: D6052996

fbshipit-source-id: 15dd4293425cfa340b23110c4a0a81b74425a3f9
  • Loading branch information
jsendros authored and facebook-github-bot committed Oct 17, 2017
1 parent 5b48bc4 commit 2d4479c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,9 @@ private void createAnimationsForTransitionUnit(
if (isRoot && property == AnimatedProperties.HEIGHT) {
// We're trying to animate the LithoView itself -- if it's not expecting it, abort
if (!mMountState.getLithoView().isExpectingBoundsAnimation()) {
if (AnimationsDebug.ENABLED) {
Log.d(AnimationsDebug.TAG, " - was not expecting bounds change animation");
}
return null;
}
}
Expand Down

0 comments on commit 2d4479c

Please sign in to comment.