Merge "Fix re-registering PositionUpdateListener" into tm-dev

This commit is contained in:
Robert Horvath
2022-05-04 08:16:43 +00:00
committed by Android (Google) Code Review

View File

@@ -11752,6 +11752,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
&& (info.mHandwritingArea == null || !isAutoHandwritingEnabled())) {
if (info.mPositionUpdateListener != null) {
mRenderNode.removePositionUpdateListener(info.mPositionUpdateListener);
info.mPositionUpdateListener = null;
info.mPositionChangedUpdate = null;
}
} else {