Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 087e879b authored by Brian Isganitis's avatar Brian Isganitis Committed by Android (Google) Code Review
Browse files

Merge changes from topic "presubmit-am-4c8411152aef49f099eee419e063b01e" into sc-v2-dev-plus-aosp

* changes:
  [automerge] Remove popup container drag listener on close complete. 2p: 8aa4b05d
  Remove popup container drag listener on close complete.
parents 50aba07a 2a4f1111
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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());