commit | 3bb7b8cacc74b4d9748083c7c1312989c46b97a1 | [log] [tgz] |
---|---|---|
author | Marie Janssen 💖 <jamuraa@google.com> | Mon May 20 20:37:10 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Mon May 20 20:37:10 2019 +0000 |
tree | ecb73c8788b2d145f92be6506f7486de18602781 | |
parent | d46498cf511772563a0fc54186a3e43adbefcac4 [diff] |
[bt][fidl] ConnectL2Cap returns nullable socket Sockets with ZX_INVALID_HANDLE can't be passed through FIDL, so there is no way to send a non-handle if the channel opening fails somehow. Make the socket return nullable. Previously this would crash the FIDL connection as the profile server delivers an invalid socket in this case. BT-659 Test: new integration test: connect_unknown_peer fx run-test bluetooth-tests -t bt-integration-tests Change-Id: I4f9114c1cd43f0b3a703573b74d934f3274bf5d6
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.