Chromium Code Reviews| Index: android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java |
| diff --git a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java |
| index 8c9cf82ecb994b8e312d2497055eb78c01abc4b9..834b87a004e89e73096c1b508412f2ebdd3b7eb9 100644 |
| --- a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java |
| +++ b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java |
| @@ -55,6 +55,9 @@ public class AwShellActivity extends Activity { |
| public void onCreate(Bundle savedInstanceState) { |
| super.onCreate(savedInstanceState); |
| + getWindow().setFlags( |
|
boliu
2014/08/28 23:15:06
You can change android_webview/test/shell/AndroidM
no sievers
2014/08/29 01:30:44
Done. I made it an argument to the test container
|
| + WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, |
| + WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED); |
| setContentView(R.layout.testshell_activity); |
| mAwTestContainerView = createAwTestContainerView(); |
| @@ -80,7 +83,7 @@ public class AwShellActivity extends Activity { |
| private AwTestContainerView createAwTestContainerView() { |
| AwBrowserProcess.start(this); |
| - AwTestContainerView testContainerView = new AwTestContainerView(this); |
| + AwTestContainerView testContainerView = new AwTestContainerView(this, true); |
| AwContentsClient awContentsClient = new NullContentsClient() { |
| private View mCustomView; |