diff options
| -rw-r--r-- | docs/html/topic/libraries/testing-support-library/index.jd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/topic/libraries/testing-support-library/index.jd b/docs/html/topic/libraries/testing-support-library/index.jd index 8b23f73e0ca6..941f5c3024d0 100644 --- a/docs/html/topic/libraries/testing-support-library/index.jd +++ b/docs/html/topic/libraries/testing-support-library/index.jd @@ -523,7 +523,7 @@ onView(withId(R.id.changeTextBt)).perform(click());</pre> mDevice = UiDevice.getInstance(getInstrumentation()); // Perform a short press on the HOME button -mDevice().pressHome(); +mDevice.pressHome(); // Bring up the default launcher by searching for // a UI component that matches the content-description for the launcher button |