Skip to content

Commit

Permalink
Disable acloud-translator so that acloud would always execute the Pyt…
Browse files Browse the repository at this point in the history
…hon codes.
  • Loading branch information
WeiChungHsu committed Oct 3, 2024
1 parent 9b29247 commit bc19391
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion base/cvd/cuttlefish/host/commands/cvd/run_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Result<ParseResult> ParseIfServer(std::vector<std::string>& all_args) {
// For now, the default value of acloud_translator_optout is false
// In the future, it might be determined by the server if not given.
const auto all_args_size_before = all_args.size();
bool acloud_translator_optout_value = false;
bool acloud_translator_optout_value = true;
PrintDataCollectionNotice();
flags.emplace_back(GflagsCompatFlag(kInternalAcloudTranslatorOptOut,
acloud_translator_optout_value));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Result<cvd::Response> TryAcloudCommand::VerifyWithCvd(
// currently, optout/optin feature only works in local instance
// remote instance would continue to be done either through `python acloud` or
// `cvdr` (if enabled).
auto optout = CF_EXPECT(instance_manager_.GetAcloudTranslatorOptout());
auto optout = true; // CF_EXPECT(instance_manager_.GetAcloudTranslatorOptout());
CF_EXPECT(!optout);
cvd::Response response;
response.mutable_command_response();
Expand Down

0 comments on commit bc19391

Please sign in to comment.