diff --git a/docs/html/topic/libraries/testing-support-library/index.jd b/docs/html/topic/libraries/testing-support-library/index.jd index ccbbe74a1a9dc..df0617c149b93 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()); 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