Skip to content
This repository has been archived by the owner on Nov 9, 2018. It is now read-only.

Commit

Permalink
Corrected a non fatal exception if contentView has a parent already
Browse files Browse the repository at this point in the history
Auditors: @bbondy
  • Loading branch information
SergeyZhukovsky committed Mar 30, 2016
1 parent 1780c04 commit eb01407
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,9 @@ public void onBeginExpandTransition(MainController.BeginExpandTransitionEvent e)
fadeIn();

if (mContentView != null) {
addView(mContentView);
if (null == mContentView.getParent()) {
addView(mContentView);
}
mContentView.onAnimateOnScreen();
showContentView();
}
Expand Down

0 comments on commit eb01407

Please sign in to comment.