aboutsummaryrefslogtreecommitdiffstats
path: root/Plugins/DbAndroid/dbandroidconnectionfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/DbAndroid/dbandroidconnectionfactory.cpp')
-rw-r--r--Plugins/DbAndroid/dbandroidconnectionfactory.cpp2
1 files changed, 1 insertions, 1 deletions
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);