Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 083c4dc1 authored by Kristian Monsen's avatar Kristian Monsen
Browse files

Part of fix for bug 8629392

Adding extra logging to fix cts bugs that are only on bots

Change-Id: I24b4b7aad200ffc23c002f4a8f0fe9246991c4f0
parent 097ed01a
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -2149,7 +2149,8 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
    @Override
    @Override
    public void destroy() {
    public void destroy() {
        if (mWebView.getViewRootImpl() != null) {
        if (mWebView.getViewRootImpl() != null) {
            Log.e(LOGTAG, "Error: WebView.destroy() called while still attached!");
            Log.e(LOGTAG, Log.getStackTraceString(
                    new Throwable("Error: WebView.destroy() called while still attached!")));
        }
        }
        ensureFunctorDetached();
        ensureFunctorDetached();
        destroyJava();
        destroyJava();