Merge "Revert "log stack trace when finish() or onDestroy() is called""
diff --git a/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java b/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java
index 945b8f2..c0ba8cf 100644
--- a/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java
+++ b/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java
@@ -286,23 +286,11 @@
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