Merge "Remove mTargetViewContainer safely" into sc-v2-dev
This commit is contained in:
@@ -122,7 +122,7 @@ public class PipDismissTargetHandler implements ViewTreeObserver.OnPreDrawListen
|
|||||||
|
|
||||||
if (mTargetViewContainer != null) {
|
if (mTargetViewContainer != null) {
|
||||||
// init can be called multiple times, remove the old one from view hierarchy first.
|
// init can be called multiple times, remove the old one from view hierarchy first.
|
||||||
mWindowManager.removeViewImmediate(mTargetViewContainer);
|
cleanUpDismissTarget();
|
||||||
}
|
}
|
||||||
|
|
||||||
mTargetView = new DismissCircleView(mContext);
|
mTargetView = new DismissCircleView(mContext);
|
||||||
|
|||||||
Reference in New Issue
Block a user