Index: android_webview/tools/WebViewShell/src/org/chromium/webview_shell/PageCyclerTestActivity.java |
diff --git a/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/PageCyclerTestActivity.java b/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/PageCyclerTestActivity.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..632c1e9c742a17774889095e7e7e54c235434757 |
--- /dev/null |
+++ b/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/PageCyclerTestActivity.java |
@@ -0,0 +1,29 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+package org.chromium.webview_shell; |
+ |
+import android.app.Activity; |
+import android.os.Bundle; |
+import android.webkit.WebView; |
+ |
+/** |
+ * This activity is used for loading urls using webview on Appurify bots to make sure the |
+ * webview doesn't crash. |
+ */ |
+public class PageCyclerTestActivity extends Activity { |
+ |
+ private WebView mWebView; |
+ |
+ @Override |
+ public void onCreate(Bundle savedInstanceState) { |
+ super.onCreate(savedInstanceState); |
+ setContentView(R.layout.activity_webview); |
+ mWebView = (WebView) findViewById(R.id.webview); |
+ } |
+ |
+ public WebView getWebView() { |
+ return mWebView; |
+ } |
+} |