Part of fix for bug 8629392

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

Change-Id: I24b4b7aad200ffc23c002f4a8f0fe9246991c4f0
This commit is contained in:
Kristian Monsen
2013-04-16 18:14:47 -07:00
parent 097ed01adc
commit 083c4dc1ac

View File

@@ -2149,7 +2149,8 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
@Override
public void destroy() {
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();
destroyJava();