commit | a3a7147186626a6799d5424e236426fdde240168 | [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 | d860c81953a367f902d4988c0dee6b7bca21d2c5 | |
parent | b7011367ba36543b9c04ef2d54646d579508d94d [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