From c5daa17928ab491977b2070b8e4218fcf0802cd4 Mon Sep 17 00:00:00 2001 From: Guang Zhu Date: Wed, 28 Sep 2011 20:06:56 -0700 Subject: [PATCH] Revert "log stack trace when finish() or onDestroy() is called" We are already clear on why it's happening (phantom touches) so reverting this log. This reverts commit 0882eb05af02616cac5cfd82d9039c9e18d029d8 --- .../android/dumprendertree/TestShellActivity.java | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java b/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java index 4ba2e18f01f3a..f8c32dd81921a 100644 --- a/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java +++ b/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java @@ -286,23 +286,11 @@ public class TestShellActivity extends Activity implements LayoutTestController mWebView.stopLoading(); } - - //TODO: remove. this is temporary for bug investigation - @Override - public void finish() { - Exception e = new Exception("finish() call stack"); - Log.d(LOGTAG, "finish stack trace", e); - super.finish(); - } - @Override protected void onDestroy() { - //TODO: remove exception log. this is temporary for bug investigation - Exception e = new Exception("onDestroy stack trace"); - Log.d(LOGTAG, "onDestroy stack trace", e); + super.onDestroy(); mWebView.destroy(); mWebView = null; - super.onDestroy(); } @Override