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