diff --git a/engine/src/flutter/shell/platform/fuchsia/flutter/component.cc b/engine/src/flutter/shell/platform/fuchsia/flutter/component.cc index 436472232f..b117733d3e 100644 --- a/engine/src/flutter/shell/platform/fuchsia/flutter/component.cc +++ b/engine/src/flutter/shell/platform/fuchsia/flutter/component.cc @@ -159,7 +159,7 @@ Application::Application( // flutter_public_dir is only accessed once we receive OnOpen Event. // That will prevent FL-175 for public directory auto request = flutter_public_dir.NewRequest().TakeChannel(); - fdio_service_connect_at(directory_ptr_.channel().get(), "public", + fdio_service_connect_at(directory_ptr_.channel().get(), "svc", request.release()); auto service_provider_dir = std::make_unique(); @@ -209,7 +209,7 @@ Application::Application( std::move(channel))); })); - outgoing_dir_->AddEntry("public", std::move(service_provider_dir)); + outgoing_dir_->AddEntry("svc", std::move(service_provider_dir)); // Setup the application controller binding. if (application_controller_request) { diff --git a/engine/src/flutter/shell/platform/fuchsia/flutter/runner_context.cc b/engine/src/flutter/shell/platform/fuchsia/flutter/runner_context.cc index 413c7c9e8e..ee36dbbd4a 100644 --- a/engine/src/flutter/shell/platform/fuchsia/flutter/runner_context.cc +++ b/engine/src/flutter/shell/platform/fuchsia/flutter/runner_context.cc @@ -13,7 +13,7 @@ RunnerContext::RunnerContext(std::shared_ptr svc, public_dir_(std::make_shared()), debug_dir_(std::make_shared()), ctrl_dir_(std::make_shared()) { - root_dir_->AddSharedEntry("public", public_dir_); + root_dir_->AddSharedEntry("svc", public_dir_); root_dir_->AddSharedEntry("debug", debug_dir_); root_dir_->AddSharedEntry("ctrl", ctrl_dir_);