Merge "Fix re-registering PositionUpdateListener" into tm-dev am: 92d87441e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17957083 Change-Id: I461c6503dca80b7d5255314078e5d6763ecdc04c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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