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

Commit eb01407

Browse files
Corrected a non fatal exception if contentView has a parent already
Auditors: @bbondy
1 parent 1780c04 commit eb01407

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Application/LinkBubble/src/main/java/com/linkbubble/ui/CanvasView.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,9 @@ public void onBeginExpandTransition(MainController.BeginExpandTransitionEvent e)
462462
fadeIn();
463463

464464
if (mContentView != null) {
465-
addView(mContentView);
465+
if (null == mContentView.getParent()) {
466+
addView(mContentView);
467+
}
466468
mContentView.onAnimateOnScreen();
467469
showContentView();
468470
}

0 commit comments

Comments
 (0)