Merge "Fix re-registering PositionUpdateListener" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
92d87441e8
@@ -11752,6 +11752,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
|||||||
&& (info.mHandwritingArea == null || !isAutoHandwritingEnabled())) {
|
&& (info.mHandwritingArea == null || !isAutoHandwritingEnabled())) {
|
||||||
if (info.mPositionUpdateListener != null) {
|
if (info.mPositionUpdateListener != null) {
|
||||||
mRenderNode.removePositionUpdateListener(info.mPositionUpdateListener);
|
mRenderNode.removePositionUpdateListener(info.mPositionUpdateListener);
|
||||||
|
info.mPositionUpdateListener = null;
|
||||||
info.mPositionChangedUpdate = null;
|
info.mPositionChangedUpdate = null;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user