Skip to content

Commit 06a240e

Browse files
guang-googleAndroid (Google) Code Review
authored andcommitted
Merge "Increase transfer queue size for DRT"
2 parents 94355ed + c978c56 commit 06a240e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,19 @@
1616

1717
package com.android.dumprendertree;
1818

19+
import com.android.browser.WebViewProperties;
1920
import com.android.dumprendertree.forwarder.ForwardService;
2021

2122
import android.app.Activity;
2223
import android.app.AlertDialog;
2324
import android.content.Context;
2425
import android.content.DialogInterface;
25-
import android.content.Intent;
2626
import android.content.DialogInterface.OnClickListener;
27+
import android.content.Intent;
2728
import android.graphics.Bitmap;
28-
import android.graphics.Canvas;
2929
import android.graphics.Bitmap.CompressFormat;
3030
import android.graphics.Bitmap.Config;
31+
import android.graphics.Canvas;
3132
import android.net.http.SslError;
3233
import android.os.Bundle;
3334
import android.os.Environment;
@@ -36,7 +37,6 @@
3637
import android.util.Log;
3738
import android.view.ViewGroup;
3839
import android.view.Window;
39-
import android.webkit.CookieManager;
4040
import android.webkit.ConsoleMessage;
4141
import android.webkit.CookieManager;
4242
import android.webkit.GeolocationPermissions;
@@ -907,6 +907,7 @@ public void setDefaultWebSettings(WebView webview) {
907907
// this enables cpu upload path (as opposed to gpu upload path)
908908
// and it's only meant to be a temporary workaround!
909909
settings.setProperty("enable_cpu_upload_path", "true");
910+
settings.setProperty(WebViewProperties.gfxUseMinimalMemory, "false");
910911
}
911912

912913
private WebView mWebView;
@@ -977,4 +978,4 @@ public void setDefaultWebSettings(WebView webview) {
977978
private boolean mIsGeolocationPermissionSet;
978979
private boolean mGeolocationPermission;
979980
private Map mPendingGeolocationPermissionCallbacks;
980-
}
981+
}

0 commit comments

Comments
 (0)