summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Atneya Nair <atneya@google.com> 2024-03-20 16:26:51 -0700
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2024-04-26 23:54:33 +0000
commita3ebd4174df1bb46f9af78c4789624a8d71a55a5 (patch)
treece4b35ed186e1ad9c7727eafcd363f7d0f8e0c5c /libs/input/SpriteController.cpp
parentf3552b6dd85312b5c9f6122eb8dd8be0fe819aed (diff)
Migrate BatteryStats audio calls to oneway
The batterystats binder interfaces used by audioserver are currently synchronous, which causes layering violations leading to threadpool starvation in system server. Migrate the calls used by audioserver in particular to oneway. These calls are already void returning, and are logically async. It is generally not recommended to mix oneway and non-oneway calls due to unclear ordering, but migrate the three methods used by audioserver together, and add a comment to explain. This interface is already mixed oneway for this reason. Fixes: 330359963 Test: dumpsys batterystats contains audio info (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:364ce02f7d46ed99e93f3f156ae1907f74de449f) Merged-In: I7220ad5287b142821ef39d175c3bf88d4a898a43 Change-Id: I7220ad5287b142821ef39d175c3bf88d4a898a43
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions