OSDN Git Service

After each test, the WebView cache should be cleared, otherwise the cache data will...
authorGuang Zhu <guangzhu@google.com>
Tue, 4 Aug 2009 21:04:06 +0000 (14:04 -0700)
committerGuang Zhu <guangzhu@google.com>
Tue, 4 Aug 2009 21:04:06 +0000 (14:04 -0700)
tests/DumpRenderTree/src/com/android/dumprendertree/ReliabilityTestActivity.java

index db40daf..995c129 100644 (file)
@@ -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();
     }