Merge change 20006 into donut
* changes: After each test, the WebView cache should be cleared, otherwise the cache data will pile up.
This commit is contained in:
@@ -124,6 +124,7 @@ public class ReliabilityTestActivity extends Activity {
|
|||||||
protected void onDestroy() {
|
protected void onDestroy() {
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
Log.v(LOGTAG, "onDestroy, inst=" + Integer.toHexString(hashCode()));
|
Log.v(LOGTAG, "onDestroy, inst=" + Integer.toHexString(hashCode()));
|
||||||
|
webView.clearCache(true);
|
||||||
webView.destroy();
|
webView.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user