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:
@@ -88,7 +88,7 @@ object KeyguardBouncerViewBinder {
|
||||
}
|
||||
}
|
||||
view.repeatWhenAttached {
|
||||
repeatOnLifecycle(Lifecycle.State.STARTED) {
|
||||
repeatOnLifecycle(Lifecycle.State.CREATED) {
|
||||
try {
|
||||
viewModel.setBouncerViewDelegate(delegate)
|
||||
launch {
|
||||
|
||||
Reference in New Issue
Block a user