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

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

Call WebView#freeMemory before collecting memory information

parent 8ed7d69f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ public class TestShellActivity extends Activity implements LayoutTestController
    }

    public void clearCache() {
      mWebView.clearCache(true);
      mWebView.freeMemory();
    }

    @Override