Merge "Remove Webview Overlays on destroy" into sc-dev am: e44bc77bc3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15546814 Change-Id: I3334011fa96e214c1c5945f12e96273e57c24b0c
This commit is contained in:
@@ -100,6 +100,9 @@ WebViewFunctor::~WebViewFunctor() {
|
||||
destroyContext();
|
||||
|
||||
ATRACE_NAME("WebViewFunctor::onDestroy");
|
||||
if (mSurfaceControl) {
|
||||
removeOverlays();
|
||||
}
|
||||
mCallbacks.onDestroyed(mFunctor, mData);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user