After each test, the WebView cache should be cleared, otherwise the cache data will pile up.

This commit is contained in:
Guang Zhu
2009-08-04 14:04:06 -07:00
parent b0508476e3
commit c189b2ddd4

View 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();
}