commit | 94e0776eb88a12c52f9d9869a67822bf83171215 | [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 | 100001a537446e731f75daadfe75ab78203df45e [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>