commit | 6683132274dd94642fac58ccfc413c43662e9556 | [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 | e72c1c90891770c8cb550d6d140c041866ad1727 | |
parent | c6aa5d660b212e1cc2006b63b003a2b603be98b0 [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>