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

Commit ed9e01d4 authored by Hyunyoung Song's avatar Hyunyoung Song Committed by Android (Google) Code Review
Browse files

Merge "Fix BubbleTextView visibility" into ub-launcher3-master

parents 224fe117 a2373854
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -345,7 +345,7 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
    public void onVisibilityAggregated(boolean isVisible) {
        super.onVisibilityAggregated(isVisible);
        if (mIcon != null) {
            mIcon.setVisible(getWindowVisibility() == VISIBLE && isShown(), false);
            mIcon.setVisible(isVisible, false);
        }
    }

@@ -581,6 +581,9 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
            applyCompoundDrawables(icon);
        }
        mIcon = icon;
        if (mIcon != null) {
            mIcon.setVisible(getWindowVisibility() == VISIBLE && isShown(), false);
        }
    }

    public void setIconVisible(boolean visible) {