Index: tools/telemetry/telemetry/internal/backends/mandoline/android_mandoline_backend.py |
diff --git a/tools/telemetry/telemetry/internal/backends/mandoline/android_mandoline_backend.py b/tools/telemetry/telemetry/internal/backends/mandoline/android_mandoline_backend.py |
index 7425e76478ec7fc950709c71e254c30122f8f93c..4065546a62437faa195f82bdbe1bfe39f7f35b66 100644 |
--- a/tools/telemetry/telemetry/internal/backends/mandoline/android_mandoline_backend.py |
+++ b/tools/telemetry/telemetry/internal/backends/mandoline/android_mandoline_backend.py |
@@ -17,7 +17,7 @@ from telemetry.internal.platform import android_platform_backend as \ |
android_platform_backend_module |
try: |
- from pylib import constants |
+ from devil.android.sdk import keyevent |
except ImportError: |
pass |
@@ -91,7 +91,7 @@ class AndroidMandolineBackend( |
logging_process = shell.ShowLogs(output) |
# Unlock device screen. |
- self.device.SendKeyEvent(constants.keyevent.KEYCODE_MENU) |
+ self.device.SendKeyEvent(keyevent.KEYCODE_MENU) |
shell.StartActivity(self.activity, args, output, logging_process.terminate) |
try: |