mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
analytics: 3p NC: Implement EstablishedConnections.
PiperOrigin-RevId: 394582833
This commit is contained in:
committed by
Copybara-Service
parent
ada8d857cb
commit
a21b4b55d7
@@ -1377,6 +1377,11 @@ void BasePcpHandler::EvaluateConnectionResult(ClientProxy* client,
|
||||
|
||||
channel_manager_->EncryptChannelForEndpoint(endpoint_id,
|
||||
std::move(context));
|
||||
|
||||
client->GetAnalyticsRecorder().OnConnectionEstablished(
|
||||
endpoint_id,
|
||||
channel_manager_->GetChannelForEndpoint(endpoint_id)->GetMedium(),
|
||||
connection_info.connection_token);
|
||||
} else {
|
||||
NEARBY_LOGS(INFO) << "Pending connection rejected; endpoint_id="
|
||||
<< endpoint_id;
|
||||
|
||||
Reference in New Issue
Block a user