Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79b66725 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Git Automerger
Browse files

am 25be2c72: am e0537f18: Merge "Fix of tearDown() in SingleLaunchActivityTestCase."

* commit '25be2c72':
  Fix of tearDown() in SingleLaunchActivityTestCase.
parents ce57a7f3 25be2c72
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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();