Merge "Fix code example in testing-support-library." into mnc-io-docs

This commit is contained in:
Aurimas Liutikas
2016-06-09 16:39:25 +00:00
committed by Android (Google) Code Review

View File

@@ -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