log entire ShareTarget for OnShareTargetDiscovered & OnShareTargetLost.

PiperOrigin-RevId: 696966113
This commit is contained in:
Suet-Fei Li
2024-11-15 12:25:43 -08:00
committed by Copybara-Service
parent 541486a593
commit c2ed015c29
+4 -5
View File
@@ -1822,9 +1822,9 @@ void NearbySharingServiceImpl::OnOutgoingDecryptedCertificate(
entry.second.OnShareTargetDiscovered(*share_target);
}
VLOG(1) << __func__ << ": Reported OnShareTargetDiscovered: share_target.id="
<< share_target->id << " device_name=" << share_target->device_name
<< " endpoint_id=" << endpoint_id << " to all send surfaces.";
VLOG(1) << __func__ << ": Reported OnShareTargetDiscovered: share_target: "
<< share_target->ToString() << " endpoint_id=" << endpoint_id
<< " to all send surfaces.";
FinishEndpointDiscoveryEvent();
}
@@ -2368,8 +2368,7 @@ void NearbySharingServiceImpl::RemoveOutgoingShareTargetAndReportLost(
VLOG(1) << __func__
<< ": Reported OnShareTargetLost for EndpointId: " << endpoint_id
<< " share target.id=" << share_target_opt->id
<< " share target.device_name=" << share_target_opt->device_name;
<< " share target: " << share_target_opt->ToString();
}
void NearbySharingServiceImpl::OnTransferComplete() {