From d9aa870e5d509cc7309ab82dd102a937ab58613a Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Thu, 9 Feb 2017 04:36:04 -0500 Subject: Imported Upstream version 3.1.1+dfsg1 --- Plugins/DbAndroid/dbandroidconnectionfactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Plugins/DbAndroid/dbandroidconnectionfactory.cpp') diff --git a/Plugins/DbAndroid/dbandroidconnectionfactory.cpp b/Plugins/DbAndroid/dbandroidconnectionfactory.cpp index 22377b4..e1e59f8 100644 --- a/Plugins/DbAndroid/dbandroidconnectionfactory.cpp +++ b/Plugins/DbAndroid/dbandroidconnectionfactory.cpp @@ -17,7 +17,7 @@ DbAndroidConnection* DbAndroidConnectionFactory::create(const DbAndroidUrl& url, switch (url.getMode()) { case DbAndroidMode::SHELL: - return new DbAndroidShellConnection(plugin, parent); + return new DbAndroidShellConnection(plugin, url.getDevice(), parent); case DbAndroidMode::NETWORK: case DbAndroidMode::USB: return new DbAndroidJsonConnection(plugin, parent); -- cgit v1.2.3