summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Fabián Kozynski <kozynski@google.com> 2023-10-11 11:11:27 -0400
committer Fabián Kozynski <kozynski@google.com> 2023-10-11 11:13:59 -0400
commit764a626d297f94df28b1067a5afe791a5eac985c (patch)
treef2af6881348ec002a9931773d1cbcbd1b72a2318 /libs/androidfw/FileStream.cpp
parent721668de97aee4ffbaf6ff6aa07cf49b5ed08fe8 (diff)
Move updateAudioProfile work to bg
updateAudioProfile makes calls to determine state of CachedBluetoothDevice. Those calls need to happe in the background. As this is called from the callback in updateConnected (which ends up being called in main thread), we need to send this off thread. Also, add annotations on methods we know should be called from a bg thread. Test: atest BluetoothControllerImplTest Test: perfetto trace (no calls in main thread after continuation) Fixes: 304103830 Fixes: 289430339 Change-Id: Ie1cdbdf63ea6731c553c827fcdbfb8bef340c400
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions