Lifecycle

Bug:288482394
Change-Id: I4116b099d3d8e49cf6537c9e5ed2f40bd05deebb
Test: Treehugger
This commit is contained in:
Anvesh Renikindi
2023-06-23 01:30:48 +00:00
parent acac3be162
commit 82c590f463

View File

@@ -52,9 +52,8 @@ class SceneWindowRootView(
setOnBackInvokedDispatcher(viewRootImpl.onBackInvokedDispatcher)
}
override fun getLifecycle(): Lifecycle {
return this@repeatWhenAttached.lifecycle
}
override val lifecycle: Lifecycle =
this@repeatWhenAttached.lifecycle
}
)