Merge "View: Remove tooltip callbacks when detached from window" into main
This commit is contained in:
@@ -21206,6 +21206,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
||||
mCurrentAnimation = null;
|
||||
|
||||
if ((mViewFlags & TOOLTIP) == TOOLTIP) {
|
||||
removeCallbacks(mTooltipInfo.mShowTooltipRunnable);
|
||||
removeCallbacks(mTooltipInfo.mHideTooltipRunnable);
|
||||
hideTooltip();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user