358283607 Do not log names of discovered Bluetooth devices.

This commit is contained in:
hai007
2021-02-19 11:25:19 -08:00
parent fae44ed114
commit 570258dd48
2 changed files with 0 additions and 8 deletions
@@ -48,12 +48,7 @@ BluetoothDeviceName::BluetoothDeviceName(
absl::string_view bluetooth_device_name_string) {
ByteArray bluetooth_device_name_bytes =
Base64Utils::Decode(bluetooth_device_name_string);
if (bluetooth_device_name_bytes.Empty()) {
NEARBY_LOG(
INFO,
"Cannot deserialize BluetoothDeviceName: failed Base64 decoding of %s",
std::string(bluetooth_device_name_string).c_str());
return;
}
-3
View File
@@ -39,9 +39,6 @@ bool BleMedium::StartScanning(
auto& context = *pair.first->second;
if (pair.second) {
context.peripheral = BlePeripheral(&peripheral);
NEARBY_LOG(INFO,
"Discovered peripheral '%s'",
peripheral.GetName().c_str());
discovered_peripheral_callback_.peripheral_discovered_cb(
context.peripheral, service_id,
context.peripheral.GetAdvertisementBytes(service_id),