Loading test-runner/src/android/test/SingleLaunchActivityTestCase.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -75,7 +75,7 @@ public abstract class SingleLaunchActivityTestCase<T extends Activity> protected void tearDown() throws Exception { protected void tearDown() throws Exception { // If it is the last test case, call finish on the activity. // If it is the last test case, call finish on the activity. sTestCaseCounter --; sTestCaseCounter --; if (sTestCaseCounter == 1) { if (sTestCaseCounter == 0) { sActivity.finish(); sActivity.finish(); } } super.tearDown(); super.tearDown(); Loading Loading
test-runner/src/android/test/SingleLaunchActivityTestCase.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -75,7 +75,7 @@ public abstract class SingleLaunchActivityTestCase<T extends Activity> protected void tearDown() throws Exception { protected void tearDown() throws Exception { // If it is the last test case, call finish on the activity. // If it is the last test case, call finish on the activity. sTestCaseCounter --; sTestCaseCounter --; if (sTestCaseCounter == 1) { if (sTestCaseCounter == 0) { sActivity.finish(); sActivity.finish(); } } super.tearDown(); super.tearDown(); Loading