Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5699d7c2 authored by Matt Pietal's avatar Matt Pietal
Browse files

Fix bouncer dismiss race condition

The bouncer startDisappear flow contains a runnable which must
be consumed in order to tell KeyguardViewMediator to begin hiding
the keyguard. This is supposed to happen after the bouncer disappear
animation plays. However, in rare cases, the runnable gets conflated
with a null value that is intended to clear it.

Use MutableSharedFlow instead of conflating with MutableStateFlow

Test: atest KeyguardBouncerRepositoryTest
Fixes: 383318506
Flag: EXEMPT bugfix
Change-Id: I7c697fdc5c0bbc5b418065f8b65d48aca68b1953
parent 127461b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment