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

Commit 60630965 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

am: 3fd42157

Change-Id: I4b9674e73830462bbe9288ebfa1bbac89af860b3
parents 375206c8 3fd42157
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();