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

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

Merge "Accept more than one test connection." am: 93c9c87f am: 1b404c17 am: 91337d87

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

Change-Id: I2d7dd416da4241b20a6677cd5ea90e45651be83e
parents f0b3935a 91337d87
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,