| Index: chrome/browser/chromeos/settings/device_settings_provider.cc
|
| diff --git a/chrome/browser/chromeos/settings/device_settings_provider.cc b/chrome/browser/chromeos/settings/device_settings_provider.cc
|
| index bb5b2404673acb78bb38f4860ee4d236bf8eb95b..be2bb1e6b2aca45800199ad1932df8989a50706c 100644
|
| --- a/chrome/browser/chromeos/settings/device_settings_provider.cc
|
| +++ b/chrome/browser/chromeos/settings/device_settings_provider.cc
|
| @@ -457,10 +457,13 @@ void DecodeGenericPolicies(
|
| policy.display_rotation_default().display_rotation_default());
|
| }
|
|
|
| - new_values_cache->SetBoolean(
|
| - kAllowBluetooth, policy.has_allow_bluetooth() &&
|
| - policy.allow_bluetooth().has_allow_bluetooth() &&
|
| - policy.allow_bluetooth().allow_bluetooth());
|
| + if (policy.has_allow_bluetooth() &&
|
| + policy.allow_bluetooth().has_allow_bluetooth()) {
|
| + new_values_cache->SetBoolean(kAllowBluetooth,
|
| + policy.allow_bluetooth().allow_bluetooth());
|
| + } else {
|
| + new_values_cache->SetBoolean(kAllowBluetooth, true);
|
| + }
|
|
|
| if (policy.has_quirks_download_enabled() &&
|
| policy.quirks_download_enabled().has_quirks_download_enabled()) {
|
|
|