summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Atneya Nair <atneya@google.com> 2024-04-17 16:15:38 -0700
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2024-04-23 23:47:57 +0000
commit0b1e46969a5a0cf8cb64a3322ddec2a502fc2a4f (patch)
tree3643f4e2275fa4a805461d93bfcb4ee0abec0aaf /libs/input/SpriteController.cpp
parent7e5c107f1185f2a1ab1488c7a59fcaa5d18768f9 (diff)
Move AudioService recv off of main thread
Some of the calls in the AudioService broadcast receiver are expensive, and posting them to the main thread can lead to slow-down/ANR. Additionally, there is no need to handle these events on the main thread. Move the receiver to a dedicated handler thread. Eventually, this should be combined with the handler we already have for events. Test: Smoke test (bt connect) Fixes: 335457435 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b7c3f0488a0943a832a49b070b95f93deeff402b) Merged-In: Ibc6b95f7bd628a63c565adfa7f5d52cdcda9fb1b Change-Id: Ibc6b95f7bd628a63c565adfa7f5d52cdcda9fb1b
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions