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

Commit 80be8059 authored by Jonathan Miranda's avatar Jonathan Miranda Committed by Android (Google) Code Review
Browse files

Merge "Fix bug where BTV text alpha stays 0 when PopupContainer closed w/o...

Merge "Fix bug where BTV text alpha stays 0 when PopupContainer closed w/o animation." into ub-launcher3-master
parents d39148af 0fd7c6c9
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -516,6 +516,12 @@ public class PopupContainerWithArrow extends ArrowPopup implements DragSource,
        mOriginalIcon.forceHideBadge(false);
    }

    @Override
    protected void closeComplete() {
        super.closeComplete();
        mOriginalIcon.setTextVisibility(mOriginalIcon.shouldTextBeVisible());
    }

    @Override
    public boolean onTouch(View v, MotionEvent ev) {
        // Touched a shortcut, update where it was touched so we can drag from there on long click.