Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1b404c17 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Accept more than one test connection." am: 93c9c87f

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1814936

Change-Id: Ic8f8f15f47a42a1481fed59b447f1aa6076098f1
parents 07e30bb0 93c9c87f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -97,8 +97,9 @@ std::shared_ptr<AsyncDataChannel> TestEnvironment::ConnectToRemoteServer(
void TestEnvironment::SetUpTestChannel() {
  bool transport_configured = test_channel_transport_.SetUp(
      test_socket_server_, [this](std::shared_ptr<AsyncDataChannel> conn_fd,
                                  AsyncDataChannelServer*) {
                                  AsyncDataChannelServer* server) {
        LOG_INFO("Test channel connection accepted.");
        server->StartListening();
        if (test_channel_open_) {
          LOG_WARN("Only one connection at a time is supported");
          test_channel_transport_.SendResponse(conn_fd,