forked from firka/flutter
[fuchsia] replace deprecated fdio_ns_connect (flutter/engine#34327)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Signature: f2795d04df7d2bf137a1e99e569acc25
|
||||
Signature: 841a94fc3514a3c64d495ed7d25388cd
|
||||
|
||||
UNUSED LICENSES:
|
||||
|
||||
|
||||
@@ -203,9 +203,8 @@ Dart_Handle System::ChannelCreate(uint32_t options) {
|
||||
|
||||
zx_status_t System::ConnectToService(std::string path,
|
||||
fml::RefPtr<Handle> channel) {
|
||||
return fdio_ns_connect(GetNamespace(), path.c_str(),
|
||||
ZX_FS_RIGHT_READABLE | ZX_FS_RIGHT_WRITABLE,
|
||||
channel->ReleaseHandle());
|
||||
return fdio_ns_service_connect(GetNamespace(), path.c_str(),
|
||||
channel->ReleaseHandle());
|
||||
}
|
||||
|
||||
zx::channel System::CloneChannelFromFileDescriptor(int fd) {
|
||||
|
||||
Reference in New Issue
Block a user