Merge "View: Remove tooltip callbacks when detached from window" into main am: 3a19a6132e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2653806 Change-Id: I7c188f4a72961e5ced8de52508c82ebee4057404 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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