Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CRAS: Fix handle_get_voice_isolation_ui_appearance
handle_get_voice_isolation_ui_appearance() handles the D-Bus method call GetVoiceIsolationUIAppearance. In https://crrev.com/c/5919890 , this method missed to add DBUS_TYPE_INVALID at the end when calling dbus_message_append_args(), so the client would get no reply. Added DBUS_TYPE_INVALID, and also fixed the args by casting them to dbus types. BUG=b:353627012 TEST=bazel test //cras/src/tests:dbus_control_unittest TEST=(on DUT) dbus-send --system --print-reply \ --type=method_call --dest=org.chromium.cras \ /org/chromium/cras \ org.chromium.cras.Control.GetVoiceIsolationUIAppearance Change-Id: I38d0742902f4db3ad2887f798d770dfcf1115286 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/5937164 Commit-Queue: Hung-Hsien Chen <[email protected]> Tested-by: [email protected] <[email protected]> Reviewed-by: Li-Yu Yu <[email protected]>
- Loading branch information