commit | 30826b6abd3c00e638181be9b21b4d41bb52ea3e | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Thu Aug 02 13:58:24 2018 -0700 |
committer | Josh Gao <jmgao@google.com> | Thu Aug 02 14:51:05 2018 -0700 |
tree | e9c0293bc7cf610c67b23435562ae19f101d114f | |
parent | 81143ed24398e6d1f60d0998ec6f477ac76a7791 [diff] |
adb: delete hellish hodgepodge. This code was unreachable, since all of the callers were calling register_socket_transport with foo.c_str() as the serial. Lift this assumption into the type system by switching from char* to std::string for the argument type. Bug: http://b/112147760 Bug: https://www.viva64.com/en/b/0579/ Test: mma Change-Id: I5a6ee265feee6b83bc933a64d895eed39fce68e7