Merge "Do not update currently open tooltip." into oc-dev
am: 139dbe5c1c
Change-Id: Ia0b5b2c7ee9dc8a0cc975562de350ac0ff4a0449
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user