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

Commit 139dbe5c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Do not update currently open tooltip." into oc-dev

parents 5e3fb57a dd469d17
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -26312,9 +26312,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
                mTooltipInfo.mHideTooltipRunnable = this::hideTooltip;
            }
            mTooltipInfo.mTooltipText = tooltipText;
            if (mTooltipInfo.mTooltipPopup != null && mTooltipInfo.mTooltipPopup.isShowing()) {
                mTooltipInfo.mTooltipPopup.updateContent(mTooltipInfo.mTooltipText);
            }
        }
    }
+0 −4
Original line number Diff line number Diff line
@@ -91,10 +91,6 @@ public class TooltipPopup {
        return mContentView.getParent() != null;
    }

    public void updateContent(CharSequence tooltipText) {
        mMessageView.setText(tooltipText);
    }

    private void computePosition(View anchorView, int anchorX, int anchorY, boolean fromTouch,
            WindowManager.LayoutParams outParams) {
        outParams.token = anchorView.getWindowToken();