* Note that we pass test_wait_capture_result as a parameter rather than reading from the activity, as for some reason this sometimes resets to false?! Declaring it volatile doesn't fix the problem.
@@ -3020,6 +3033,13 @@ public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActiv