Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CfM-R108] xu_camera: Use UI thread for D-Bus.
When XuCameraService uses IpPeripheralServiceClient to send dbus commands to IpPeripheralService, it must use the UI thread. (https://chromium.googlesource.com/chromiumos/docs/+/HEAD/dbus_in_chrome.md#using-system-daemons_d_bus-services) Without this change, on M108, gdb showed that we were crashing in `ObjectProxy::CallMethodWithErrorResponse' on `bus_->AssertOnOriginThread();` at https://source.chromium.org/chromium/chromium/src/+/main:dbus/object_proxy.cc;l=169 BUG=b:284299455 TESTED=Endeavour on R108-15183.82.41 and Falcon camera on 1.5.17 Change-Id: I7fc001b329e8ad4ecbe4fa263d2ef5f5a27aeea1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4859064 Commit-Queue: Richard Yeh <rcy@google.com> Owners-Override: Richard Yeh <rcy@google.com> Reviewed-by: Kyle Williams <kdgwill@chromium.org> Cr-Commit-Position: refs/branch-heads/5359_179@{#37} Cr-Branched-From: 296508e-refs/branch-heads/5359@{#1312} Cr-Branched-From: 27d3765-refs/heads/main@{#1058933}
- Loading branch information