Commit 4c70ab46 authored by Abhijeet Singh's avatar Abhijeet Singh Committed by Commit Bot

Updating visibility bit in the config string

Updating the InternalConfig::visibility field to a string instead of an
integer to make it compatible with the libassistant side changes.

Bug: b:143715504
Change-Id: I775a4b067ae0944733bd87ecc8869641006866cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1970807Reviewed-by: default avatarXiaohui Chen <xiaohuic@chromium.org>
Commit-Queue: Abhijeet Singh <siabhijeet@google.com>
Cr-Commit-Position: refs/heads/master@{#727208}
parent 3154130d
...@@ -85,7 +85,7 @@ std::string CreateLibAssistantConfig( ...@@ -85,7 +85,7 @@ std::string CreateLibAssistantConfig(
// Set DeviceProperties.visibility to Visibility::PRIVATE. // Set DeviceProperties.visibility to Visibility::PRIVATE.
// See //libassistant/shared/proto/device_properties.proto. // See //libassistant/shared/proto/device_properties.proto.
internal.SetKey("visibility", Value(1)); internal.SetKey("visibility", Value("PRIVATE"));
if (base::SysInfo::IsRunningOnChromeOS()) { if (base::SysInfo::IsRunningOnChromeOS()) {
Value logging(Type::DICTIONARY); Value logging(Type::DICTIONARY);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment