commit | 20e02648e9afdd33e8796b0b34a103bd59194a13 | [log] [tgz] |
---|---|---|
author | Leo Sartre <leox.sartre@intel.com> | Tue Jan 05 12:06:05 2016 +0100 |
committer | Leo Sartre <leox.sartre@intel.com> | Tue Jan 05 12:13:24 2016 +0100 |
tree | 2fc29f036b76ddc2d622bbf4f400d3a8c212c1fc | |
parent | b20808ad117f0b2643550189563c13cd2a56e5ce [diff] |
WA: Fix adb wait-for-device command Without -s argument, adb wait-for-device will make a call to acquire_one_transport() with sinfo->serial.c_str() == "". Waiting for acquire_one_transport() to be reworked to use std::string rather than const char * for serial, work around this by passing NULL when sinfo->serial is not initialized in host_service_to_socket(). Change-Id: Ifef53e0e82850364f5029ee36560376f2a4a5104 Signed-off-by: Leo Sartre <leox.sartre@intel.com>