Merge "Notify content capture on detach before setting attachInfo to null." into sc-qpr1-dev am: 84a7a431cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15935219 Change-Id: Ia2a5f3d17b0a7d4803f0c6089574a4f4fb063c6a
This commit is contained in:
@@ -20889,13 +20889,14 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
|||||||
mPrivateFlags &= ~PFLAG_SCROLL_CONTAINER_ADDED;
|
mPrivateFlags &= ~PFLAG_SCROLL_CONTAINER_ADDED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
notifyAppearedOrDisappearedForContentCaptureIfNeeded(false);
|
||||||
|
|
||||||
mAttachInfo = null;
|
mAttachInfo = null;
|
||||||
if (mOverlay != null) {
|
if (mOverlay != null) {
|
||||||
mOverlay.getOverlayView().dispatchDetachedFromWindow();
|
mOverlay.getOverlayView().dispatchDetachedFromWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
notifyEnterOrExitForAutoFillIfNeeded(false);
|
notifyEnterOrExitForAutoFillIfNeeded(false);
|
||||||
notifyAppearedOrDisappearedForContentCaptureIfNeeded(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user