Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c189b2dd authored by Guang Zhu's avatar Guang Zhu
Browse files

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

parent b0508476
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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();
    }