Merge "View: Remove tooltip callbacks when detached from window" into main am: 3a19a6132e am: e928921602 am: d1584a0574
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2653806 Change-Id: I084f3f649d0fe57704a15ea7f9f458c47b3c7f2b 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