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()); |