From c189b2ddd450f60167fcd4307ec826cc5f75f8fa Mon Sep 17 00:00:00 2001 From: Guang Zhu Date: Tue, 4 Aug 2009 14:04:06 -0700 Subject: [PATCH] After each test, the WebView cache should be cleared, otherwise the cache data will pile up. --- .../src/com/android/dumprendertree/ReliabilityTestActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/DumpRenderTree/src/com/android/dumprendertree/ReliabilityTestActivity.java b/tests/DumpRenderTree/src/com/android/dumprendertree/ReliabilityTestActivity.java index db40daf6e459..995c129e4398 100644 --- a/tests/DumpRenderTree/src/com/android/dumprendertree/ReliabilityTestActivity.java +++ b/tests/DumpRenderTree/src/com/android/dumprendertree/ReliabilityTestActivity.java @@ -124,6 +124,7 @@ public class ReliabilityTestActivity extends Activity { protected void onDestroy() { super.onDestroy(); Log.v(LOGTAG, "onDestroy, inst=" + Integer.toHexString(hashCode())); + webView.clearCache(true); webView.destroy(); } -- 2.11.0