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

Unified Diff: build/android/pylib/device/device_utils.py

Issue 1134773002: [Android] Update SendKeyEvent docs to point to constants.keyevent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/device/device_utils.py
diff --git a/build/android/pylib/device/device_utils.py b/build/android/pylib/device/device_utils.py
index 091bb8ed07e514c24718999a35dfb6440bc408d4..28fc64d59fe502a60f0c207e0da97d396aabf279 100644
--- a/build/android/pylib/device/device_utils.py
+++ b/build/android/pylib/device/device_utils.py
@@ -789,7 +789,7 @@ class DeviceUtils(object):
def SendKeyEvent(self, keycode, timeout=None, retries=None):
"""Sends a keycode to the device.
- See: http://developer.android.com/reference/android/view/KeyEvent.html
+ See the pylib.constants.keyevent module for suitable keycode values.
Args:
keycode: A integer keycode to send to the device.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698