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;
|
mCurrentAnimation = null;
|
||||||
|
|
||||||
if ((mViewFlags & TOOLTIP) == TOOLTIP) {
|
if ((mViewFlags & TOOLTIP) == TOOLTIP) {
|
||||||
|
removeCallbacks(mTooltipInfo.mShowTooltipRunnable);
|
||||||
|
removeCallbacks(mTooltipInfo.mHideTooltipRunnable);
|
||||||
hideTooltip();
|
hideTooltip();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user