diff options
| author | 2024-01-25 17:17:45 -0500 | |
|---|---|---|
| committer | 2024-01-25 23:51:28 -0500 | |
| commit | 50cfcf9c4ecce255f9205339933440b2c892e34b (patch) | |
| tree | c5da0f849c2cb4d3677d6b59facca93575557d67 /libs/androidfw/misc.cpp | |
| parent | a578f07c56c49421ec97d199638ec84a2894d441 (diff) | |
Update keyguard flow to always be on main thread.
KeyguardUpdateMonitor.registerCallback will throw an execption if not on
the main thread. Therefore this change enforces that the flow is always
collected on the main thread, even if the consumer tries to collect it
in a background thread.
Bug: 319331389
Test: atest KeyguardRepositoryImplTest
Flag: NA
Change-Id: I33482ed5797e87888dec55201ec650ccc89b7b38
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions