diff --git a/tests/multivalentTests/src/com/android/launcher3/util/SandboxApplication.kt b/tests/multivalentTests/src/com/android/launcher3/util/SandboxApplication.kt index 4f9b8c7b4a..efe763739c 100644 --- a/tests/multivalentTests/src/com/android/launcher3/util/SandboxApplication.kt +++ b/tests/multivalentTests/src/com/android/launcher3/util/SandboxApplication.kt @@ -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() }