summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Lucas Silva <lusilva@google.com> 2024-01-25 17:17:45 -0500
committer Lucas Silva <lusilva@google.com> 2024-01-25 23:51:28 -0500
commit50cfcf9c4ecce255f9205339933440b2c892e34b (patch)
treec5da0f849c2cb4d3677d6b59facca93575557d67 /libs/androidfw/misc.cpp
parenta578f07c56c49421ec97d199638ec84a2894d441 (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