Merge "Fix intermittent PIP crash." into rvc-dev am: 9dc02c4a70
Change-Id: I45b7bf2998a34a3256a2a88e8f720e7cede4a505
This commit is contained in:
@@ -510,7 +510,7 @@ public class PipTouchHandler {
|
|||||||
mHandler.removeCallbacks(mShowTargetAction);
|
mHandler.removeCallbacks(mShowTargetAction);
|
||||||
|
|
||||||
if (mTargetViewContainer.isAttachedToWindow()) {
|
if (mTargetViewContainer.isAttachedToWindow()) {
|
||||||
mWindowManager.removeView(mTargetViewContainer);
|
mWindowManager.removeViewImmediate(mTargetViewContainer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user