summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2025-01-13 16:29:29 +0000
committer Matt Pietal <mpietal@google.com> 2025-01-14 06:24:02 -0800
commit5699d7c2bf5dc0e3d0778801b11685344cfcadef (patch)
treef65d88627337a571091c5ed14e47e32bfb24a041 /libs/androidfw/StringPool.cpp
parent127461b45cce4cc309eefc4756515575568203a2 (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions