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

Commit 00c5a119 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Use ParcelFileDescriptor implementation in libbinder"

parents ab2e619d 7e12e868
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -57,8 +57,8 @@ Status BluetoothSocketManagerBinderServer::connectSocket(
    return Status::ok();
    return Status::ok();
  }
  }


  _aidl_return->reset(new ParcelFileDescriptor());
  _aidl_return->reset(
  (*_aidl_return)->setFileDescriptor(socket_fd, true);
      new ParcelFileDescriptor(android::base::unique_fd(socket_fd)));
  return Status::ok();
  return Status::ok();
}
}


@@ -97,8 +97,8 @@ Status BluetoothSocketManagerBinderServer::createSocketChannel(
    return Status::ok();
    return Status::ok();
  }
  }


  _aidl_return->reset(new ParcelFileDescriptor());
  _aidl_return->reset(
  (*_aidl_return)->setFileDescriptor(socket_fd, true);
      new ParcelFileDescriptor(android::base::unique_fd(socket_fd)));
  return Status::ok();
  return Status::ok();
}
}