summaryrefslogtreecommitdiffstats
path: root/tests/DumpRenderTree
diff options
context:
space:
mode:
authorGuang Zhu <guangzhu@google.com>2012-02-13 17:15:57 -0800
committerGuang Zhu <guangzhu@google.com>2012-02-13 17:37:49 -0800
commitc978c560c851d5f2d50ba406fb184841b984ac1f (patch)
tree7171cf9d7491109532745677c7aee4f0601bd15e /tests/DumpRenderTree
parent3be5c8565154c9a6aa7abf0a0d61eaecf114b450 (diff)
downloadframeworks_base-c978c560c851d5f2d50ba406fb184841b984ac1f.zip
frameworks_base-c978c560c851d5f2d50ba406fb184841b984ac1f.tar.gz
frameworks_base-c978c560c851d5f2d50ba406fb184841b984ac1f.tar.bz2
Increase transfer queue size for DRT
To maintain the baseline, DRT app should use the same transfer queue size as before. Bug: 6008123 Change-Id: I143ebf86b7798c1a6608af2e37d618ffa09d1062
Diffstat (limited to 'tests/DumpRenderTree')
-rw-r--r--tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java b/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java
index c0ba8cf..3febf83 100644
--- a/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java
+++ b/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java
@@ -16,18 +16,19 @@
package com.android.dumprendertree;
+import com.android.browser.WebViewProperties;
import com.android.dumprendertree.forwarder.ForwardService;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
-import android.content.Intent;
import android.content.DialogInterface.OnClickListener;
+import android.content.Intent;
import android.graphics.Bitmap;
-import android.graphics.Canvas;
import android.graphics.Bitmap.CompressFormat;
import android.graphics.Bitmap.Config;
+import android.graphics.Canvas;
import android.net.http.SslError;
import android.os.Bundle;
import android.os.Environment;
@@ -36,7 +37,6 @@ import android.os.Message;
import android.util.Log;
import android.view.ViewGroup;
import android.view.Window;
-import android.webkit.CookieManager;
import android.webkit.ConsoleMessage;
import android.webkit.CookieManager;
import android.webkit.GeolocationPermissions;
@@ -907,6 +907,7 @@ public class TestShellActivity extends Activity implements LayoutTestController
// this enables cpu upload path (as opposed to gpu upload path)
// and it's only meant to be a temporary workaround!
settings.setProperty("enable_cpu_upload_path", "true");
+ settings.setProperty(WebViewProperties.gfxUseMinimalMemory, "false");
}
private WebView mWebView;
@@ -977,4 +978,4 @@ public class TestShellActivity extends Activity implements LayoutTestController
private boolean mIsGeolocationPermissionSet;
private boolean mGeolocationPermission;
private Map mPendingGeolocationPermissionCallbacks;
-}
+} \ No newline at end of file