Merge "Remove popup container drag listener on close complete." into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1d4dc1ba91
@@ -486,6 +486,9 @@ public class PopupContainerWithArrow<T extends Context & ActivityContext>
|
||||
@Override
|
||||
protected void closeComplete() {
|
||||
super.closeComplete();
|
||||
if (mActivityContext.getDragController() != null) {
|
||||
mActivityContext.getDragController().removeDragListener(this);
|
||||
}
|
||||
PopupContainerWithArrow openPopup = getOpen(mActivityContext);
|
||||
if (openPopup == null || openPopup.mOriginalIcon != mOriginalIcon) {
|
||||
mOriginalIcon.setTextVisibility(mOriginalIcon.shouldTextBeVisible());
|
||||
|
||||
Reference in New Issue
Block a user