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