Bouncer - Fix activity launch

The bouncer view delegate was not being created soon enough, resulting
in the dismiss action being dropped and not run after a succesful
auth.

Fixes: 259666226
Test: manual, follow steps in bug
Change-Id: If2dbfc35379d6c1b0f46575ab9e4e4bb0769ce6f
This commit is contained in:
Matt Pietal
2022-11-18 15:01:55 +00:00
parent 3f580f5b5b
commit 9efdc707f3

View File

@@ -88,7 +88,7 @@ object KeyguardBouncerViewBinder {
}
}
view.repeatWhenAttached {
repeatOnLifecycle(Lifecycle.State.STARTED) {
repeatOnLifecycle(Lifecycle.State.CREATED) {
try {
viewModel.setBouncerViewDelegate(delegate)
launch {