[automerge] Remove keep clear areas when a view detaches 2p: b864abe37b

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16940245

Bug: 209577354
Change-Id: Ie9867527341e9210ca77305258292e2e1774bbca
This commit is contained in:
Robert Horvath
2022-02-18 12:57:55 +00:00
committed by Presubmit Automerger Backend

View File

@@ -21142,6 +21142,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
}
notifyEnterOrExitForAutoFillIfNeeded(false);
if (info != null && !collectPreferKeepClearRects().isEmpty()) {
info.mViewRootImpl.updateKeepClearRectsForView(this);
}
}
/**