Skip to content

Commit a48c21a

Browse files
committed
[flutter_runner] Rename outgoing 'public' to 'svc'.
This is the topaz counterpart to https://fuchsia-review.googlesource.com/c/fuchsia/+/277254. This is a backwards-incompatible ABI change that will be landed together with that CL. All clients have been migrated to be compatible with the new ABI. Change-Id: I07bb460ce3c6971eb671874db1f90e8c4906e656 Ported from Topaz tree.
1 parent 98f55f0 commit a48c21a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

shell/platform/fuchsia/flutter/component.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Application::Application(
159159
// flutter_public_dir is only accessed once we receive OnOpen Event.
160160
// That will prevent FL-175 for public directory
161161
auto request = flutter_public_dir.NewRequest().TakeChannel();
162-
fdio_service_connect_at(directory_ptr_.channel().get(), "public",
162+
fdio_service_connect_at(directory_ptr_.channel().get(), "svc",
163163
request.release());
164164

165165
auto service_provider_dir = std::make_unique<ServiceProviderDir>();
@@ -209,7 +209,7 @@ Application::Application(
209209
std::move(channel)));
210210
}));
211211

212-
outgoing_dir_->AddEntry("public", std::move(service_provider_dir));
212+
outgoing_dir_->AddEntry("svc", std::move(service_provider_dir));
213213

214214
// Setup the application controller binding.
215215
if (application_controller_request) {

shell/platform/fuchsia/flutter/runner_context.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RunnerContext::RunnerContext(std::shared_ptr<sys::ServiceDirectory> svc,
1313
public_dir_(std::make_shared<vfs::PseudoDir>()),
1414
debug_dir_(std::make_shared<vfs::PseudoDir>()),
1515
ctrl_dir_(std::make_shared<vfs::PseudoDir>()) {
16-
root_dir_->AddSharedEntry("public", public_dir_);
16+
root_dir_->AddSharedEntry("svc", public_dir_);
1717
root_dir_->AddSharedEntry("debug", debug_dir_);
1818
root_dir_->AddSharedEntry("ctrl", ctrl_dir_);
1919

0 commit comments

Comments
 (0)