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

Commit 6159797a authored by Sharvil Nanavati's avatar Sharvil Nanavati Committed by android-build-merger
Browse files

Only send first 16 characters of operator name in +COPS.

am: 56f22234

* commit '56f22234':
  Only send first 16 characters of operator name in +COPS.
parents a7f39775 56f22234
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1053,7 +1053,7 @@ static bt_status_t cops_response(const char *cops, bt_bdaddr_t *bd_addr)
        tBTA_AG_RES_DATA    ag_res;

        /* Format the response */
        sprintf (ag_res.str, "0,0,\"%s\"", cops);
        sprintf (ag_res.str, "0,0,\"%.16s\"", cops);
        ag_res.ok_flag = BTA_AG_OK_DONE;

        BTA_AgResult (btif_hf_cb[idx].handle, BTA_AG_COPS_RES, &ag_res);