Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6a16ca4 authored by Palash Ahuja's avatar Palash Ahuja
Browse files

[BluetoothMetrics] LE Connection Metrics - log statements removal

Bug: 286128731
Change-Id: I74f965020c3fbfca9d5dc3deed0df8f7cac66c10
parent 7549c225
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -50,12 +50,6 @@ void LEConnectionMetricState::AddStateChangedEvent(
    LeConnectionType connection_type,
    LeConnectionState transaction_state,
    std::vector<std::pair<os::ArgumentType, int>> argument_list) {
  LOG_INFO(
      "LEConnectionMetricState:  Origin Type: %s, Connection Type: %s, Transaction State: "
      "%s",
      common::ToHexString(origin_type).c_str(),
      common::ToHexString(connection_type).c_str(),
      common::ToHexString(transaction_state).c_str());

  ClockTimePoint current_timestamp = std::chrono::high_resolution_clock::now();
  state = transaction_state;
@@ -193,7 +187,6 @@ void LEConnectionMetricsRemoteDevice::AddStateChangedEvent(

      if (device_metric->IsCancelled() &&
          transaction_state == LeConnectionState::STATE_LE_ACL_END) {
        LOG_INFO("LEConnectionMetricsRemoteDevice: Session is now complete after cancellation");
        // complete the connection
        device_metric->AddStateChangedEvent(
            origin_type, connection_type, transaction_state, argument_list);