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

Commit 2102c321 authored by Vladislav Kaznacheev's avatar Vladislav Kaznacheev Committed by android-build-merger
Browse files

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

am: 139dbe5c

Change-Id: Ia3fc1f16e71a4a12a0a84704b7ca7a9d2ec33514
parents 43e02a3e 139dbe5c
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -26247,9 +26247,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();