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

Commit 69a4ec50 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't close mActivityScenario when null" into main

parents f1419f89 c436b9f5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -137,7 +137,7 @@ abstract class ActivityTestJunit4<T : Activity?> {
    fun tearDown() {
    fun tearDown() {
        device!!.unfreezeRotation()
        device!!.unfreezeRotation()
        restoreScreenOffAndSleepTimeouts()
        restoreScreenOffAndSleepTimeouts()
        mActivityScenario!!.close()
        mActivityScenario?.close()
    }
    }


    protected open fun launchActivity() {
    protected open fun launchActivity() {