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

Commit c1fafebd authored by Tony Wickham's avatar Tony Wickham Committed by Android (Google) Code Review
Browse files

Merge "Maintain dot and text visibility if a new popup is created while...

Merge "Maintain dot and text visibility if a new popup is created while closing" into ub-launcher3-qt-future-dev
parents 23df556e 20af12eb
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -575,8 +575,11 @@ public class PopupContainerWithArrow extends ArrowPopup implements DragSource,

    @Override
    protected void closeComplete() {
        PopupContainerWithArrow openPopup = getOpen(mLauncher);
        if (openPopup == null || openPopup.mOriginalIcon != mOriginalIcon) {
            mOriginalIcon.setTextVisibility(mOriginalIcon.shouldTextBeVisible());
            mOriginalIcon.setForceHideDot(false);
        }
        super.closeComplete();
    }