commit | fa6ca0fe6f512ca497747802e861d5bb400c6a71 | [log] [tgz] |
---|---|---|
author | Brian Isganitis <brianji@google.com> | Tue Oct 15 23:43:31 2024 +0000 |
committer | Brian Isganitis <brianji@google.com> | Tue Oct 15 23:43:31 2024 +0000 |
tree | 77a6d1efb6754d46d051bb9e13f4214217ac763b | |
parent | 2eea74b623e5bbcd00999161c6d0fa1e7f90e26e [diff] |
Have external resource call init() explicitly. Change-Id: Ibdd444478d0d171353a58c060022f5a181f9d1c4 Flag: TEST_ONLY Test: go/testedequals Bug: 230027385
diff --git a/tests/multivalentTests/src/com/android/launcher3/util/SandboxApplication.kt b/tests/multivalentTests/src/com/android/launcher3/util/SandboxApplication.kt index 4f9b8c7..efe7637 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 @@ 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() }