Skip to content

Commit 2452ad3

Browse files
guang-googleAndroid (Google) Code Review
authored andcommitted
Merge "Revert "log stack trace when finish() or onDestroy() is called""
2 parents d94a7b6 + c5daa17 commit 2452ad3

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -286,23 +286,11 @@ protected void onStop() {
286286
mWebView.stopLoading();
287287
}
288288

289-
290-
//TODO: remove. this is temporary for bug investigation
291-
@Override
292-
public void finish() {
293-
Exception e = new Exception("finish() call stack");
294-
Log.d(LOGTAG, "finish stack trace", e);
295-
super.finish();
296-
}
297-
298289
@Override
299290
protected void onDestroy() {
300-
//TODO: remove exception log. this is temporary for bug investigation
301-
Exception e = new Exception("onDestroy stack trace");
302-
Log.d(LOGTAG, "onDestroy stack trace", e);
291+
super.onDestroy();
303292
mWebView.destroy();
304293
mWebView = null;
305-
super.onDestroy();
306294
}
307295

308296
@Override

0 commit comments

Comments
 (0)