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

Commit fa6ca0fe authored by Brian Isganitis's avatar Brian Isganitis
Browse files

Have external resource call init() explicitly.

Change-Id: Ibdd444478d0d171353a58c060022f5a181f9d1c4
Flag: TEST_ONLY
Test: go/testedequals
Bug: 230027385
parent 2eea74b6
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -73,9 +73,7 @@ class SandboxApplication private constructor(private val base: SandboxApplicatio

    override fun apply(statement: Statement, description: Description): Statement {
        return object : ExternalResource() {
                override fun before() {
                    base.app = this@SandboxApplication
                }
                override fun before() = init()

                override fun after() = onDestroy()
            }