commit | 3b4de3c3553af8f114375e04ef116e1c98f1760b | [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 | ddcee93c0138fc68dbc6320962a53cd4761ab94b [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