Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2957)

Unified Diff: android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java

Issue 2895293002: Android: tidy up outdated version checks. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java
diff --git a/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java b/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java
index fc10cc372690a093b71722169d72b3ad6f960ecb..07f246a004f8c5eeb634dda2d844122e4eef81a3 100644
--- a/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java
+++ b/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java
@@ -205,7 +205,7 @@ public class ActionModeTest {
@UseLayout("edittext_webview")
public void testAssist() {
// TODO(aluo): Get SdkSuppress to work with the test runner
- if (Build.VERSION.SDK_INT < 24) return;
+ if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N) return;
longClickOnLastWord(R.id.webview);
clickPopupAction(ASSIST_ACTION);
UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation());

Powered by Google App Engine
This is Rietveld 408576698