OSDN Git Service

Remove unwanted space characters from dialing number
authorStanley Tng <stng@google.com>
Tue, 25 Jul 2017 17:07:05 +0000 (10:07 -0700)
committerStanley Tng <stng@google.com>
Wed, 26 Jul 2017 17:53:11 +0000 (10:53 -0700)
commitc538c153917be7544ed5ec11ec393f35511c4ced
treebadba6008dbea3344b4be625d23415ee38f3f0ad
parentb53fcadb1b321a425a5e044c6037094c733b7894
Remove unwanted space characters from dialing number

Certain car kits might send an AT command with space characters in
the dialing number. This commit adds a workaround to trim these unwanted
space characters.

Bug: 6340999
Test: Manual test with a car kit but purposely added numbers with spaces.
Change-Id: I9c238bc625fff8503c45cbbfaeb8bdd15b8a7d9a
(cherry picked from commit 54a1461a29a8c71dd010d418ec1b23012bf32805)
bta/ag/bta_ag_cmd.cc