Support remote-android with multiple connected devices.
Summary:
This change introduces a new URL scheme for `platform connect`:
```
adb://device-id:port
```
Reviewers: vharron, tberghammer, clayborg, ovyalov
Reviewed By: ovyalov
Subscribers: tberghammer, lldb-commits
Differential Revision: http://reviews.llvm.org/D9358
llvm-svn: 236321
diff --git a/lldb/source/Plugins/Platform/Android/AdbClient.h b/lldb/source/Plugins/Platform/Android/AdbClient.h
index 3dcc006..235fc56 100644
--- a/lldb/source/Plugins/Platform/Android/AdbClient.h
+++ b/lldb/source/Plugins/Platform/Android/AdbClient.h
@@ -32,7 +32,7 @@
using DeviceIDList = std::list<std::string>;
static Error
- CreateByDeviceID (const char* device_id, AdbClient &adb);
+ CreateByDeviceID(const std::string &device_id, AdbClient &adb);
AdbClient () = default;
explicit AdbClient (const std::string &device_id);