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

Commit 1d3bd6a4 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

btif_hf.cc : privatize phone number in log

Log level is trace, so shouldn't be displayed by default anyway.

Bug: 223453926
Change-Id: I994681ef217835dd10d0fb35a60de74181ad9367
parent 76e55632
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1075,9 +1075,10 @@ bt_status_t HeadsetInterface::ClccResponse(
  if (index == 0) {
    ag_res.ok_flag = BTA_AG_OK_DONE;
  } else {
    std::string cell_number(number);
    BTIF_TRACE_EVENT(
        "clcc_response: [%d] dir %d state %d mode %d number = %s type = %d",
        index, dir, state, mode, number, type);
        index, dir, state, mode, PRIVATE_CELL(cell_number), type);
    int res_strlen = snprintf(ag_res.str, sizeof(ag_res.str), "%d,%d,%d,%d,%d",
                              index, dir, state, mode, mpty);
    if (number) {