diff options
author | Michael Wright <michaelwr@google.com> | 2011-06-09 15:36:39 -0700 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2011-06-09 15:48:33 -0700 |
commit | 6914d17c7c6a1d8d11d59c2913d7e4f1e972d70f (patch) | |
tree | 869a5187deb34229eb411bbc824738a3787a76aa | |
parent | c8307c885f8462f2baf9f06c9916d1521f7fdcfb (diff) | |
download | frameworks_base-6914d17c7c6a1d8d11d59c2913d7e4f1e972d70f.zip frameworks_base-6914d17c7c6a1d8d11d59c2913d7e4f1e972d70f.tar.gz frameworks_base-6914d17c7c6a1d8d11d59c2913d7e4f1e972d70f.tar.bz2 |
Fixed MonkeyRunner documentation
MonkeyRunner's documentation previously had an out of date enum value in
the sample code. This has been updated.
Change-Id: If725815ee578aab8cd59ef17706ea8de7973d4c1
-rw-r--r-- | docs/html/guide/developing/tools/monkeyrunner_concepts.jd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/guide/developing/tools/monkeyrunner_concepts.jd b/docs/html/guide/developing/tools/monkeyrunner_concepts.jd index c0795d7..499b610 100644 --- a/docs/html/guide/developing/tools/monkeyrunner_concepts.jd +++ b/docs/html/guide/developing/tools/monkeyrunner_concepts.jd @@ -125,7 +125,7 @@ runComponent = package + '/' + activity device.startActivity(component=runComponent) # Presses the Menu button -device.press('KEYCODE_MENU','DOWN_AND_UP') +device.press('KEYCODE_MENU', MonkeyDevice.DOWN_AND_UP) # Takes a screenshot result = device.takeSnapshot() |