Merge change 7671

* changes:
  Free memory on low memory condition.
This commit is contained in:
Android (Google) Code Review
2009-07-17 07:47:18 -07:00

View File

@@ -228,8 +228,8 @@ public class TestShellActivity extends Activity implements LayoutTestController
@Override
public void onLowMemory() {
super.onLowMemory();
Log.e(LOGTAG, "Low memory, kill self");
System.exit(1);
Log.e(LOGTAG, "Low memory, clearing caches");
mWebView.freeMemory();
}
// Dump the page