summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2022-11-18 15:01:55 +0000
committer Matt Pietal <mpietal@google.com> 2022-11-21 12:53:39 +0000
commit9efdc707f3846a9946edab93440ee9313e11dcf7 (patch)
tree9288bacba7671bfa30145b01c40284bc020d458d
parent3f580f5b5b1c96663663e3f58ee44803671cc7af (diff)
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
-rw-r--r--packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardBouncerViewBinder.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardBouncerViewBinder.kt b/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardBouncerViewBinder.kt
index 3c927ee08494..5a742b5356be 100644
--- a/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardBouncerViewBinder.kt
+++ b/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardBouncerViewBinder.kt
@@ -88,7 +88,7 @@ object KeyguardBouncerViewBinder {
}
}
view.repeatWhenAttached {
- repeatOnLifecycle(Lifecycle.State.STARTED) {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
try {
viewModel.setBouncerViewDelegate(delegate)
launch {